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: {
|
||||
isLoggedIn() {
|
||||
return !!useUsersStore().currentUser
|
||||
},
|
||||
modalActivated() {
|
||||
return useEditStatusStore().modalActivated
|
||||
},
|
||||
isFormVisible() {
|
||||
return this.isLoggedIn && !this.resettingForm && this.modalActivated
|
||||
return this.loggedIn && !this.resettingForm && this.modalActivated
|
||||
},
|
||||
params() {
|
||||
return useEditStatusStore().params || {}
|
||||
},
|
||||
...mapState(useUsersStore, ['loggedIn']),
|
||||
},
|
||||
watch: {
|
||||
params(newVal, oldVal) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue