first pass of migration - states and obvious replacements
This commit is contained in:
parent
02f952047d
commit
24ce2dc0a5
66 changed files with 398 additions and 568 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import DialogModal from '../dialog_modal/dialog_modal.vue'
|
||||
import Popover from '../popover/popover.vue'
|
||||
|
||||
|
|
@ -54,7 +55,7 @@ const ModerationTools = {
|
|||
},
|
||||
canUseTagPolicy() {
|
||||
return (
|
||||
this.$store.state.instance.tagPolicyAvailable &&
|
||||
useInstanceStore().tagPolicyAvailable &&
|
||||
this.privileged('users_manage_tags')
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue