Issue/1080 (#1081)

This commit is contained in:
Joel Camus Bueno
2020-08-16 13:56:33 +02:00
committed by GitHub
parent 24b587762a
commit c9cd7b4344
4 changed files with 12 additions and 0 deletions

View File

@@ -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()
},

View File

@@ -109,6 +109,9 @@ export default {
folderIndex: this.folderIndex,
})
this.syncCollections()
this.$toast.error(this.$t("deleted"), {
icon: "delete",
})
},
editFolder() {
this.$emit("edit-folder")

View File

@@ -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()
},

View File

@@ -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()
},
},