2020-10-24 23:57:45 +05:30
|
|
|
// 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`
|
2021-03-08 18:12:59 +05:30
|
|
|
export const getNoteableData = (state) => state.notes.noteableData;
|
2020-10-24 23:57:45 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
export default {
|
|
|
|
isLoggedIn(state, getters) {
|
2019-09-04 21:01:54 +05:30
|
|
|
return Boolean(getters.getUserData.id);
|
2018-11-08 19:23:39 +05:30
|
|
|
},
|
|
|
|
};
|