Compare commits
7 Commits
v1.9.0-bet
...
enh/ToastU
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d72435209 | ||
|
|
e360f4f9d9 | ||
|
|
ff14afbe11 | ||
|
|
b9d2e9c791 | ||
|
|
a1bd13d960 | ||
|
|
6d5ddd4e2c | ||
|
|
a34e8feb33 |
@@ -75,6 +75,7 @@ import { mapGetters, mapState } from 'vuex'
|
||||
import axios from '@nextcloud/axios'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
import { showUndo } from '@nextcloud/dialogs'
|
||||
|
||||
export default {
|
||||
name: 'CardMenu',
|
||||
@@ -129,6 +130,7 @@ export default {
|
||||
},
|
||||
deleteCard() {
|
||||
this.$store.dispatch('deleteCard', this.card)
|
||||
showUndo('undo', this.$store.dispatch('cardUndoDelete', this.card))
|
||||
},
|
||||
archiveUnarchiveCard() {
|
||||
this.$store.dispatch('archiveUnarchiveCard', { ...this.card, archived: !this.card.archived })
|
||||
|
||||
Reference in New Issue
Block a user