summaryrefslogtreecommitdiff
path: root/store/index.js
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-18 14:24:16 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-18 14:24:16 +0200
commit683cd8be5d6cf42cce58eae4134459ee60658e8c (patch)
tree82fc6732a704ec260bb77515249ba68703489464 /store/index.js
parent814dee483b642bcbeee28a4b0c24014d26d794f2 (diff)
Add store for models
Diffstat (limited to 'store/index.js')
-rw-r--r--store/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/index.js b/store/index.js
index eabe2e5..a91e3a7 100644
--- a/store/index.js
+++ b/store/index.js
@@ -3,8 +3,8 @@ export const state = () => ({
});
export const getters = {
- animation: (state) => {
- return state.loading ? "animate-none" : "animate-spin";
+ isLoading: (state) => {
+ return state.loading;
},
};
export const mutations = {