diff --git a/components/collections/add-collection.vue b/components/collections/add-collection.vue index ec3981562..9956c704b 100644 --- a/components/collections/add-collection.vue +++ b/components/collections/add-collection.vue @@ -50,7 +50,7 @@ export default { }, methods: { syncCollections() { - if (fb.currentUser !== null) { + if (fb.currentUser !== null && fb.currentSettings[0]) { if (fb.currentSettings[0].value) { fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections))) } diff --git a/components/collections/collection.vue b/components/collections/collection.vue index c76353a32..268606072 100644 --- a/components/collections/collection.vue +++ b/components/collections/collection.vue @@ -132,7 +132,7 @@ export default { }, methods: { syncCollections() { - if (fb.currentUser !== null) { + if (fb.currentUser !== null && fb.currentSettings[0]) { if (fb.currentSettings[0].value) { fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections))) } diff --git a/components/collections/edit-collection.vue b/components/collections/edit-collection.vue index b27df64b1..79144fbe5 100644 --- a/components/collections/edit-collection.vue +++ b/components/collections/edit-collection.vue @@ -52,7 +52,7 @@ export default { }, methods: { syncCollections() { - if (fb.currentUser !== null) { + if (fb.currentUser !== null && fb.currentSettings[0]) { if (fb.currentSettings[0].value) { fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections))) } diff --git a/components/collections/edit-folder.vue b/components/collections/edit-folder.vue index cb414790c..a6621b994 100644 --- a/components/collections/edit-folder.vue +++ b/components/collections/edit-folder.vue @@ -53,7 +53,7 @@ export default { }, methods: { syncCollections() { - if (fb.currentUser !== null) { + if (fb.currentUser !== null && fb.currentSettings[0]) { if (fb.currentSettings[0].value) { fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections))) } diff --git a/components/collections/edit-request.vue b/components/collections/edit-request.vue index c1bc187b5..2704d6636 100644 --- a/components/collections/edit-request.vue +++ b/components/collections/edit-request.vue @@ -57,7 +57,7 @@ export default { }, methods: { syncCollections() { - if (fb.currentUser !== null) { + if (fb.currentUser !== null && fb.currentSettings[0]) { if (fb.currentSettings[0].value) { fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections))) } diff --git a/components/collections/folder.vue b/components/collections/folder.vue index fcdf57d85..293ca62a4 100644 --- a/components/collections/folder.vue +++ b/components/collections/folder.vue @@ -87,7 +87,14 @@ /> -
not_interested {{ $t("folder_empty") }}