This commit is contained in:
Liyas Thomas
2020-06-19 12:26:04 +05:30
parent fcbc738088
commit 1587a44cd7
33 changed files with 63 additions and 77 deletions

View File

@@ -120,7 +120,7 @@ export default {
this.$store.commit("postwoman/removeCollection", {
collectionIndex: this.collectionIndex,
})
this.syncCollections();
this.syncCollections()
},
editFolder(collectionIndex, folder, folderIndex) {
this.$emit("edit-folder", { collectionIndex, folder, folderIndex })

View File

@@ -80,8 +80,8 @@ export default {
collection: collectionUpdated,
collectionIndex: this.$props.editingCollectionIndex,
})
this.$emit("hide-modal");
this.syncCollections();
this.$emit("hide-modal")
this.syncCollections()
},
hideModal() {
this.$emit("hide-modal")

View File

@@ -71,7 +71,7 @@ export default {
folderIndex: this.$props.folderIndex,
})
this.hideModal()
this.syncCollections();
this.syncCollections()
},
hideModal() {
this.$emit("hide-modal")

View File

@@ -139,7 +139,7 @@ export default {
})
this.hideModal()
this.syncCollections();
this.syncCollections()
},
hideModal() {
this.$emit("hide-modal")

View File

@@ -106,7 +106,7 @@ export default {
collectionIndex: this.collectionIndex,
folderIndex: this.folderIndex,
})
this.syncCollections();
this.syncCollections()
},
editFolder() {
this.$emit("edit-folder")

View File

@@ -135,7 +135,8 @@ export default {
computed: {
collections() {
return fb.currentUser !== null
? fb.currentCollections : this.$store.state.postwoman.collections
? fb.currentCollections
: this.$store.state.postwoman.collections
},
},
async mounted() {

View File

@@ -69,7 +69,7 @@ export default {
folderIndex: this.folderIndex,
requestIndex: this.requestIndex,
})
this.syncCollections();
this.syncCollections()
},
},
}