0👍
When defined in a module, a getter receives rootState
as a third argument:
const getters = {
authorizedAdminLinks: (state, getters, rootState) => _.filter(rootState.globals.adminLinks, link => link.seePrivilege >= rootState.globals.auth.privileges),
}
- [Vuejs]-How do I prevent an attachment to be deleted after resetting the form fields including the trix-editor's contents?
- [Vuejs]-Does google recaptcha 3 on vuetify really not appear? automatic?
Source:stackexchange.com