Compare commits

...

7 Commits

Author SHA1 Message Date
Jakob Röhrl
728616ff90 date shortcuts
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2020-09-24 08:46:18 +02:00
Jakob Röhrl
e360f4f9d9 Merge branch 'master' of https://github.com/nextcloud/deck 2020-09-24 08:07:01 +02:00
Jakob Röhrl
ff14afbe11 Merge branch 'master' of https://github.com/nextcloud/deck 2020-09-23 14:09:33 +02:00
Jakob Röhrl
b9d2e9c791 Revert "consistent naming"
This reverts commit a1bd13d960.
2020-09-23 13:21:23 +02:00
Jakob Röhrl
a1bd13d960 consistent naming
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2020-09-23 13:20:20 +02:00
Jakob Röhrl
6d5ddd4e2c Revert "consistent naming"
This reverts commit a34e8feb33.
2020-09-23 12:49:52 +02:00
Jakob Röhrl
a34e8feb33 consistent naming
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2020-09-23 12:44:30 +02:00

View File

@@ -120,6 +120,7 @@
:lang="lang"
:format="format"
:disabled="saving || !canEdit"
:shortcuts="shortcuts"
confirm />
<Actions v-if="canEdit">
<ActionButton v-if="copiedCard.duedate" icon="icon-delete" @click="removeDue()">
@@ -299,6 +300,23 @@ export default {
stringify: this.stringify,
parse: this.parse,
},
shortcuts: [
{
text: 'Today',
onClick() {
const date = new Date()
return date
},
},
{
text: 'Tomorrow',
onClick() {
const date = new Date()
date.setTime(date.getTime() + 3600 * 1000 * 24)
return date
},
},
],
}
},
computed: {