Issue/1080 (#1081)
This commit is contained in:
@@ -130,6 +130,9 @@ export default {
|
|||||||
if (!confirm( this.$t("are_you_sure_remove_collection") )) return
|
if (!confirm( this.$t("are_you_sure_remove_collection") )) return
|
||||||
this.$store.commit("postwoman/removeCollection", {
|
this.$store.commit("postwoman/removeCollection", {
|
||||||
collectionIndex: this.collectionIndex,
|
collectionIndex: this.collectionIndex,
|
||||||
|
})
|
||||||
|
this.$toast.error(this.$t("deleted"), {
|
||||||
|
icon: "delete",
|
||||||
})
|
})
|
||||||
this.syncCollections()
|
this.syncCollections()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -109,6 +109,9 @@ export default {
|
|||||||
folderIndex: this.folderIndex,
|
folderIndex: this.folderIndex,
|
||||||
})
|
})
|
||||||
this.syncCollections()
|
this.syncCollections()
|
||||||
|
this.$toast.error(this.$t("deleted"), {
|
||||||
|
icon: "delete",
|
||||||
|
})
|
||||||
},
|
},
|
||||||
editFolder() {
|
editFolder() {
|
||||||
this.$emit("edit-folder")
|
this.$emit("edit-folder")
|
||||||
|
|||||||
@@ -73,6 +73,9 @@ export default {
|
|||||||
collectionIndex: this.collectionIndex,
|
collectionIndex: this.collectionIndex,
|
||||||
folderIndex: this.folderIndex,
|
folderIndex: this.folderIndex,
|
||||||
requestIndex: this.requestIndex,
|
requestIndex: this.requestIndex,
|
||||||
|
})
|
||||||
|
this.$toast.error(this.$t("deleted"), {
|
||||||
|
icon: "delete",
|
||||||
})
|
})
|
||||||
this.syncCollections()
|
this.syncCollections()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -64,6 +64,9 @@ export default {
|
|||||||
removeEnvironment() {
|
removeEnvironment() {
|
||||||
if (!confirm(this.$t("are_you_sure_remove_environment"))) return
|
if (!confirm(this.$t("are_you_sure_remove_environment"))) return
|
||||||
this.$store.commit("postwoman/removeEnvironment", this.environmentIndex)
|
this.$store.commit("postwoman/removeEnvironment", this.environmentIndex)
|
||||||
|
this.$toast.error(this.$t("deleted"), {
|
||||||
|
icon: "delete",
|
||||||
|
})
|
||||||
this.syncEnvironments()
|
this.syncEnvironments()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user