blob: b79132128cc7c5f751e8c98cb743ff825cd0b97a (
plain)
1
2
3
4
5
6
|
export const isInheriting = (state) => (state.defaultState === null ? false : !state.override);
export const propsSource = (state, getters) =>
getters.isInheriting ? state.defaultState : state.customState;
export const currentKey = (state, getters) => (getters.isInheriting ? 'admin' : 'custom');
|