Issue/1080 (#1081)
This commit is contained in:
parent
24b587762a
commit
c9cd7b4344
4 changed files with 12 additions and 0 deletions
|
|
@ -130,6 +130,9 @@ export default {
|
|||
if (!confirm( this.$t("are_you_sure_remove_collection") )) return
|
||||
this.$store.commit("postwoman/removeCollection", {
|
||||
collectionIndex: this.collectionIndex,
|
||||
})
|
||||
this.$toast.error(this.$t("deleted"), {
|
||||
icon: "delete",
|
||||
})
|
||||
this.syncCollections()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -109,6 +109,9 @@ export default {
|
|||
folderIndex: this.folderIndex,
|
||||
})
|
||||
this.syncCollections()
|
||||
this.$toast.error(this.$t("deleted"), {
|
||||
icon: "delete",
|
||||
})
|
||||
},
|
||||
editFolder() {
|
||||
this.$emit("edit-folder")
|
||||
|
|
|
|||
|
|
@ -73,6 +73,9 @@ export default {
|
|||
collectionIndex: this.collectionIndex,
|
||||
folderIndex: this.folderIndex,
|
||||
requestIndex: this.requestIndex,
|
||||
})
|
||||
this.$toast.error(this.$t("deleted"), {
|
||||
icon: "delete",
|
||||
})
|
||||
this.syncCollections()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -64,6 +64,9 @@ export default {
|
|||
removeEnvironment() {
|
||||
if (!confirm(this.$t("are_you_sure_remove_environment"))) return
|
||||
this.$store.commit("postwoman/removeEnvironment", this.environmentIndex)
|
||||
this.$toast.error(this.$t("deleted"), {
|
||||
icon: "delete",
|
||||
})
|
||||
this.syncEnvironments()
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue