traxxx/assets/js/auth/getters.js

9 lines
173 B
JavaScript
Raw Normal View History

2021-03-15 02:30:47 +00:00
function favoritesStash(state) {
return state.user.stashes.find(stash => stash.slug === 'favorites');
}
module.exports = {
favoritesStash,
favorites: favoritesStash,
};