cleanup
This commit is contained in:
parent
cdf3a5d959
commit
4f6c72894e
1 changed files with 2 additions and 4 deletions
|
|
@ -19,18 +19,16 @@ const EditStatusModal = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isLoggedIn() {
|
|
||||||
return !!useUsersStore().currentUser
|
|
||||||
},
|
|
||||||
modalActivated() {
|
modalActivated() {
|
||||||
return useEditStatusStore().modalActivated
|
return useEditStatusStore().modalActivated
|
||||||
},
|
},
|
||||||
isFormVisible() {
|
isFormVisible() {
|
||||||
return this.isLoggedIn && !this.resettingForm && this.modalActivated
|
return this.loggedIn && !this.resettingForm && this.modalActivated
|
||||||
},
|
},
|
||||||
params() {
|
params() {
|
||||||
return useEditStatusStore().params || {}
|
return useEditStatusStore().params || {}
|
||||||
},
|
},
|
||||||
|
...mapState(useUsersStore, ['loggedIn']),
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
params(newVal, oldVal) {
|
params(newVal, oldVal) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue