-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or requestmodule: druxtRelated to the `druxt` moduleRelated to the `druxt` modulemodule: menuRelated to the `druxt-menu` moduleRelated to the `druxt-menu` module
Description
Is your feature request related to a problem? Please describe.
When a user logs out via the Druxt Auth integration, the Vuex stores persist.
Describe the solution you'd like
Some way to universally flush the Vuex stores that can be used by modes such as Druxt Auth.
Describe alternatives you've considered
Triggering a manual page reload after the Nuxt Auth logout call in the frontend.
Additional context
The Druxt Store already has the ability to flush resources and collections from the store: https://github.com/druxt/druxt.js/blob/develop/packages/druxt/src/stores/druxt.js#L144-L180
Other Vuex stores will also need this ability.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmodule: druxtRelated to the `druxt` moduleRelated to the `druxt` modulemodule: menuRelated to the `druxt-menu` moduleRelated to the `druxt-menu` module