Shared pages refactoring part 1

This commit is contained in:
Čarodej
2022-02-08 10:01:38 +01:00
parent 09774b1d48
commit f04c057490
25 changed files with 170 additions and 191 deletions

View File

@@ -47,11 +47,6 @@ const actions = {
})
})
},
getSingleFile: ({ commit }) => {
axios.get(`/api/browse/file/${router.currentRoute.params.token}`).then((response) => {
commit('STORE_SHARED_FILE', response.data)
})
},
getShareDetail: ({ commit, state }, token) => {
return new Promise((resolve, reject) => {
axios