browsing through upload request

This commit is contained in:
Čarodej
2022-02-24 10:20:38 +01:00
parent 06b28aeee3
commit a589ee5f7a
31 changed files with 311 additions and 118 deletions

View File

@@ -313,7 +313,7 @@ const actions = {
commit('REMOVE_ITEM', data.data.id)
// Remove item from sidebar
if (getters.permission === 'master') {
if (! ['Public', 'RequestUpload'].includes(router.currentRoute.name)) {
if (data.data.type === 'folder') commit('REMOVE_ITEM_FROM_FAVOURITES', data)
}
})