mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
- fileinfodetail renamed to clipboard
This commit is contained in:
8
resources/js/store/modules/userAuth.js
vendored
8
resources/js/store/modules/userAuth.js
vendored
@@ -52,9 +52,9 @@ const actions = {
|
||||
let addFavourites = []
|
||||
let items = [folder]
|
||||
|
||||
// If dont coming single folder get folders to add to favourites from fileInfoDetail
|
||||
// If dont coming single folder get folders to add to favourites from clipboard
|
||||
if (!folder)
|
||||
items = context.getters.fileInfoDetail
|
||||
items = context.getters.clipboard
|
||||
|
||||
items.forEach((data) => {
|
||||
if (data.type === 'folder') {
|
||||
@@ -67,9 +67,9 @@ const actions = {
|
||||
}
|
||||
})
|
||||
|
||||
// If dont coming single folder clear the selected folders in fileInfoDetail
|
||||
// If dont coming single folder clear the selected folders in clipboard
|
||||
if (!folder) {
|
||||
context.commit('CLEAR_FILEINFO_DETAIL')
|
||||
context.commit('CLIPBOARD_CLEAR')
|
||||
}
|
||||
|
||||
let pushToFavorites = []
|
||||
|
||||
Reference in New Issue
Block a user