mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Card dates, if deleted rules didn't apply on "unset date fields"
This commit is contained in:
parent
bcc17127a9
commit
53c827e134
1 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ Template.dateBadge.helpers({
|
|||
}
|
||||
|
||||
_deleteDate() {
|
||||
this.card.setReceived(null);
|
||||
this.card.unsetReceived();
|
||||
}
|
||||
}.register('editCardReceivedDatePopup'));
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ Template.dateBadge.helpers({
|
|||
}
|
||||
|
||||
_deleteDate() {
|
||||
this.card.setStart(null);
|
||||
this.card.unsetStart();
|
||||
}
|
||||
}.register('editCardStartDatePopup'));
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ Template.dateBadge.helpers({
|
|||
}
|
||||
|
||||
_deleteDate() {
|
||||
this.card.setDue(null);
|
||||
this.card.unsetDue();
|
||||
}
|
||||
}.register('editCardDueDatePopup'));
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ Template.dateBadge.helpers({
|
|||
}
|
||||
|
||||
_deleteDate() {
|
||||
this.card.setEnd(null);
|
||||
this.card.unsetEnd();
|
||||
}
|
||||
}.register('editCardEndDatePopup'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue