mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 16:32:15 +00:00
v1.5-alpha.9
This commit is contained in:
6
resources/js/store/modules/fileBrowser.js
vendored
6
resources/js/store/modules/fileBrowser.js
vendored
@@ -250,9 +250,9 @@ const mutations = {
|
||||
state.fileInfoDetail = item
|
||||
},
|
||||
GET_FILEINFO_DETAIL(state, item) {
|
||||
state.fileInfoDetail = state.data.find(
|
||||
el => el.unique_id == item.unique_id
|
||||
)
|
||||
let checkData = state.data.find(el => el.unique_id == item.unique_id)
|
||||
|
||||
state.fileInfoDetail = checkData ? checkData : state.currentFolder
|
||||
},
|
||||
CHANGE_SEARCHING_STATE(state, searchState) {
|
||||
state.isSearching = searchState
|
||||
|
||||
Reference in New Issue
Block a user