10 lines
370 B
JavaScript
10 lines
370 B
JavaScript
// Note: this getter is important because
|
|
// `noteableData` is namespaced under `notes` for `~/mr_notes/stores`
|
|
// while `noteableData` is directly available as `state.noteableData` for `~/notes/stores`
|
|
export const getNoteableData = state => state.notes.noteableData;
|
|
|
|
export default {
|
|
isLoggedIn(state, getters) {
|
|
return Boolean(getters.getUserData.id);
|
|
},
|
|
};
|