fix: not login issue
This commit is contained in:
@@ -134,7 +134,8 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
collections() {
|
collections() {
|
||||||
return fb.currentCollections;
|
return fb.currentUser !== null
|
||||||
|
? fb.currentCollections : this.$store.state.postwoman.collections
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
|
|||||||
@@ -82,7 +82,8 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
environments() {
|
environments() {
|
||||||
return fb.currentEnvironments;
|
return fb.currentUser !== null
|
||||||
|
? fb.currentEnvironments : this.$store.state.postwoman.environments
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user