Merge pull request #2972 from gradido/fix-store-problems

fix(frontend): between store problems
This commit is contained in:
Ulf Gebhardt 2023-05-08 15:51:55 +02:00 committed by GitHub
commit 306c7b0c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,7 @@ export const actions = {
const store = new Vuex.Store({
plugins: [
createPersistedState({
key: 'gradido-admin',
storage: window.localStorage,
}),
],

View File

@ -35,6 +35,6 @@ Cypress.Commands.add('login', (email, password) => {
}
cy.visit('/')
window.localStorage.setItem('vuex', JSON.stringify(vuexToken))
window.localStorage.setItem('gradido-frontend', JSON.stringify(vuexToken))
})
})

View File

@ -91,6 +91,7 @@ try {
store = new Vuex.Store({
plugins: [
createPersistedState({
key: 'gradido-frontend',
storage: window.localStorage,
}),
],