Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuex actions have incorrect namespace #30

Open
franklin113 opened this issue Dec 29, 2021 · 0 comments
Open

Vuex actions have incorrect namespace #30

franklin113 opened this issue Dec 29, 2021 · 0 comments

Comments

@franklin113
Copy link

Hi I'm seeing many cases where vuex actions are not mapped with the right namespace.
For example in layouts/vertical/AppBar.vue these will fail:

        ...mapActions([
            'changeVerticalSidebarDrawer',
            'changeVerticalSidebarMini',
            'signOut' 
        ]),

I've updated this to use proper namespaces like this:

        ...mapActions('authData', [
            'signOut'
        ]),
        ...mapActions('themeConfig',[
            'changeVerticalSidebarDrawer',
            'changeVerticalSidebarMini',
        ]),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant