Eliminado dora de la persistencia de Vuex
This commit is contained in:
parent
c478809a7a
commit
c84f05c1ef
@ -2,7 +2,12 @@ import { createStore } from 'vuex';
|
|||||||
import VuexPersistence from "vuex-persist";
|
import VuexPersistence from "vuex-persist";
|
||||||
|
|
||||||
const vuexLocal = new VuexPersistence({
|
const vuexLocal = new VuexPersistence({
|
||||||
storage: window.localStorage
|
storage: window.localStorage,
|
||||||
|
reducer(state: RiMaJonState) {
|
||||||
|
const datos = Object.assign({}, state);
|
||||||
|
delete datos.dora;
|
||||||
|
return datos;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export interface RiMaJonState {
|
export interface RiMaJonState {
|
||||||
|
Loading…
Reference in New Issue
Block a user