diff --git a/components/collections/index.vue b/components/collections/index.vue index 890510b50..77db8ad86 100644 --- a/components/collections/index.vue +++ b/components/collections/index.vue @@ -134,7 +134,8 @@ export default { }, computed: { collections() { - return fb.currentCollections; + return fb.currentUser !== null + ? fb.currentCollections : this.$store.state.postwoman.collections }, }, async mounted() { diff --git a/components/environments/index.vue b/components/environments/index.vue index 12e39397a..e3f3af215 100644 --- a/components/environments/index.vue +++ b/components/environments/index.vue @@ -82,7 +82,8 @@ export default { }, computed: { environments() { - return fb.currentEnvironments; + return fb.currentUser !== null + ? fb.currentEnvironments : this.$store.state.postwoman.environments }, }, async mounted() {