Added favorites button to actor page.
This commit is contained in:
8
assets/js/auth/getters.js
Normal file
8
assets/js/auth/getters.js
Normal file
@@ -0,0 +1,8 @@
|
||||
function favoritesStash(state) {
|
||||
return state.user.stashes.find(stash => stash.slug === 'favorites');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
favoritesStash,
|
||||
favorites: favoritesStash,
|
||||
};
|
||||
Reference in New Issue
Block a user