fix: not login issue
This commit is contained in:
parent
10c568098c
commit
0bf2ba5416
2 changed files with 4 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue