mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 08:32:14 +00:00
Revert "removed backspace functionality for team folder and sharedwithme homepage"
This reverts commit dfeef6fd
This commit is contained in:
4
resources/js/store/modules/fileFunctions.js
vendored
4
resources/js/store/modules/fileFunctions.js
vendored
@@ -80,7 +80,7 @@ const actions = {
|
||||
|
||||
if (item.type === 'folder') dispatch('getAppData')
|
||||
|
||||
if (Vue.prototype.$isThisRoute(['Public'])) dispatch('getFolderTree')
|
||||
if (Vue.prototype.$isThisRoute(router.currentRoute, ['Public'])) dispatch('getFolderTree')
|
||||
})
|
||||
})
|
||||
.catch(() => Vue.prototype.$isSomethingWrong())
|
||||
@@ -272,7 +272,7 @@ const actions = {
|
||||
restoreItem: ({ commit, getters }, item) => {
|
||||
let itemToRestore = []
|
||||
let items = [item]
|
||||
let restoreToHome = Vue.prototype.$isThisRoute(['Trash'])
|
||||
let restoreToHome = Vue.prototype.$isThisRoute(router.currentRoute, ['Trash'])
|
||||
|
||||
// If coming no selected item dont get items to restore from clipboard
|
||||
if (!item) items = getters.clipboard
|
||||
|
||||
Reference in New Issue
Block a user