blob: 556254486db26ab6e767317635ad3e92c19d21d5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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);
},
};
|