aboutsummaryrefslogtreecommitdiff
path: root/src/site/store
diff options
context:
space:
mode:
Diffstat (limited to 'src/site/store')
-rw-r--r--src/site/store/albums.js4
-rw-r--r--src/site/store/auth.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/site/store/albums.js b/src/site/store/albums.js
index 4f796a1..8be0230 100644
--- a/src/site/store/albums.js
+++ b/src/site/store/albums.js
@@ -9,8 +9,8 @@ export const state = () => ({
});
export const getters = {
- isExpanded: (state) => (id) => state.expandedAlbums.indexOf(id) > -1,
- getDetails: (state) => (id) => state.albumDetails[id] || {}
+ isExpanded: state => id => state.expandedAlbums.indexOf(id) > -1,
+ getDetails: state => id => state.albumDetails[id] || {}
};
export const actions = {
diff --git a/src/site/store/auth.js b/src/site/store/auth.js
index 85e3a39..51a79d6 100644
--- a/src/site/store/auth.js
+++ b/src/site/store/auth.js
@@ -11,9 +11,9 @@ const getDefaultState = () => ({
export const state = getDefaultState;
export const getters = {
- isLoggedIn: (state) => state.loggedIn,
- getApiKey: (state) => state.user?.apiKey,
- getToken: (state) => state.token
+ isLoggedIn: state => state.loggedIn,
+ getApiKey: state => state.user?.apiKey,
+ getToken: state => state.token
};
export const actions = {