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