aboutsummaryrefslogtreecommitdiff
path: root/src/site/store/album.js
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-07-07 02:02:37 +0300
committerZephyrrus <[email protected]>2020-07-07 02:02:37 +0300
commit15f296a7805b7623f56eab67b74ab0bf93a038e1 (patch)
tree407e266b7ff085f4fc3b6c4f2b56bc3bf2e24476 /src/site/store/album.js
parentfeat: add video preview on hover to dashboard and apply new linter rules to s... (diff)
downloadhost.fuwn.me-15f296a7805b7623f56eab67b74ab0bf93a038e1.tar.xz
host.fuwn.me-15f296a7805b7623f56eab67b74ab0bf93a038e1.zip
chore: eslint stores
feat: merge album and images
Diffstat (limited to 'src/site/store/album.js')
-rw-r--r--src/site/store/album.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/site/store/album.js b/src/site/store/album.js
index f7c88c9..d8ffacc 100644
--- a/src/site/store/album.js
+++ b/src/site/store/album.js
@@ -1,4 +1,3 @@
-/* eslint-disable no-shadow */
export const state = () => ({
files: [],
name: null,
@@ -36,6 +35,10 @@ export const actions = {
dispatch('alert/set', { text: e.message, error: true }, { root: true });
}
},
+ // TODO: Fix duplicate code between this store and files store
+ deleteFile({ commit }, fileId) {
+
+ },
};
export const mutations = {