Initial refactor of the collections list and friends

This commit is contained in:
Andrew Bastin
2021-05-06 20:46:29 -04:00
parent 531a9c0bc8
commit 3888584b58
9 changed files with 184 additions and 383 deletions

View File

@@ -179,7 +179,9 @@ export default {
}
},
subscriptions() {
SYNC_COLLECTIONS: getSettingSubject("syncCollections")
return {
SYNC_COLLECTIONS: getSettingSubject("syncCollections"),
}
},
props: {
show: Boolean,
@@ -275,7 +277,6 @@ export default {
.replaceWithJSON(this.$apollo, collections, this.collectionsType.selectedTeam.id)
.then((status) => {
if (status) {
this.$emit("update-team-collections")
this.fileImported()
} else {
this.failedImport()