Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
894
Issues
894
List
Boards
Labels
Service Desk
Milestones
Merge Requests
45
Merge Requests
45
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Compare Revisions
7816c0460c7f240cb7f7ad17f736cd64efad379f...91cfb06f746981417d27caa4a9094d0d11712d2c
Source
91cfb06f746981417d27caa4a9094d0d11712d2c
Select Git revision
...
Target
7816c0460c7f240cb7f7ad17f736cd64efad379f
Select Git revision
Compare
Commits (3)
(fix) when editing a not scheduled post, scheduler shouldn't be selected
· 48b922aa
Juan Manuel Solaro
authored
2 hours ago
48b922aa
(fix) disable scheduler for blogs that are already published
· 429780b7
Juan Manuel Solaro
authored
2 hours ago
429780b7
(fix) apply prettier fixes
· 91cfb06f
Juan Manuel Solaro
authored
2 hours ago
91cfb06f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
edit.html
src/app/modules/blogs/edit/edit.html
+2
-1
edit.ts
src/app/modules/blogs/edit/edit.ts
+6
-0
activity.html
...pp/modules/legacy/components/cards/activity/activity.html
+1
-1
activity.ts
src/app/modules/legacy/components/cards/activity/activity.ts
+6
-0
No files found.
src/app/modules/blogs/edit/edit.html
View file @
91cfb06f
...
...
@@ -171,7 +171,8 @@
#thresholdInput
></m-wire-threshold-input>
<m-poster-date-selector
[date]=
"blog.time_created"
*ngIf=
"!blog.time_published"
[date]=
"getTimeCreated()"
(dateChange)=
"onTimeCreatedChange($event)"
(onError)=
"posterDateSelectorError($event)"
></m-poster-date-selector>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/blogs/edit/edit.ts
View file @
91cfb06f
...
...
@@ -344,4 +344,10 @@ export class BlogEdit {
onTimeCreatedChange
(
newDate
)
{
this
.
blog
.
time_created
=
newDate
;
}
getTimeCreated
()
{
return
this
.
blog
.
time_created
>
Math
.
floor
(
Date
.
now
()
/
1000
)
?
this
.
blog
.
time_created
:
null
;
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/legacy/components/cards/activity/activity.html
View file @
91cfb06f
...
...
@@ -181,7 +181,7 @@
[(enabled)]=
"activity.paywall"
></m-wire-threshold-input>
<m-poster-date-selector
[date]=
"
activity.time_created
"
[date]=
"
getTimeCreated()
"
(dateChange)=
"onTimeCreatedChange($event)"
(onError)=
"posterDateSelectorError($event)"
></m-poster-date-selector>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/legacy/components/cards/activity/activity.ts
View file @
91cfb06f
...
...
@@ -577,4 +577,10 @@ export class Activity implements OnInit {
posterDateSelectorError
(
msg
)
{
throw
new
Error
(
msg
);
}
getTimeCreated
()
{
return
this
.
activity
.
time_created
>
Math
.
floor
(
Date
.
now
()
/
1000
)
?
this
.
activity
.
time_created
:
null
;
}
}
This diff is collapsed.
Click to expand it.