nicer tags selection

This commit is contained in:
j3d1 2023-10-28 04:35:45 +02:00
parent f3b8a3247e
commit 01286aede8
4 changed files with 233 additions and 33 deletions

View file

@ -252,7 +252,7 @@ export default createStore({
},
async pushFile({state, dispatch, getters}, {item_id, file}) {
const servers = await dispatch('getHomeServers')
const data = await servers.post(getters.signAuth, '/api/item_files/'+item_id+'/', file)
const data = await servers.post(getters.signAuth, '/api/item_files/' + item_id + '/', file)
if (data.hash) {
state.files.push(data)
return data