Only show toggle-all-day checkbox if a date is set
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
parent
dc6c44dcaf
commit
3aad8b60a4
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ export default {
|
|||
+ (this.task.completed ? ('<br />' + t('tasks', 'Completed %s').replace('%s', moment(this.task.completedDate, 'YYYY-MM-DDTHH:mm:ss').calendar())) : '')
|
||||
},
|
||||
isAllDayPossible: function() {
|
||||
return !this.task.calendar.readOnly || (this.task.due || this.task.start)
|
||||
return !this.task.calendar.readOnly && (this.task.due || this.task.start)
|
||||
},
|
||||
priorityString: function() {
|
||||
if (+this.task.priority > 5) {
|
||||
|
|
Loading…
Reference in a new issue