🐛 Hotfix: Broken toast and edit/save operations

This commit is contained in:
Liyas Thomas
2020-03-19 16:18:52 +05:30
parent d95c53bbb6
commit 3b2934d4ae
3 changed files with 4 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ export default {
},
addNewCollection() {
if (!this.$data.name) {
this.$toast.info($t("invalid_collection_name"))
this.$toast.info(this.$t("invalid_collection_name"))
return
}
this.$store.commit("postwoman/addNewCollection", {

View File

@@ -60,7 +60,7 @@ export default {
methods: {
saveCollection() {
if (!this.$data.name) {
this.$toast.info($t("invalid_collection_name"))
this.$toast.info(this.$t("invalid_collection_name"))
return
}
const collectionUpdated = {