mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 02:50:39 +00:00
- added file request into the spotlight
- after enter stop editing item name
This commit is contained in:
@@ -213,6 +213,11 @@
|
||||
size="18"
|
||||
class="vue-feather text-theme"
|
||||
/>
|
||||
<upload-cloud-icon
|
||||
v-if="result.action.value === 'create-file-request'"
|
||||
size="18"
|
||||
class="vue-feather text-theme"
|
||||
/>
|
||||
|
||||
<b class="ml-3.5 text-sm font-bold">
|
||||
{{ result.title }}
|
||||
@@ -534,6 +539,13 @@ export default {
|
||||
value: 'create-team-folder',
|
||||
},
|
||||
},
|
||||
{
|
||||
title: this.$t('Create File Request'),
|
||||
action: {
|
||||
type: 'function',
|
||||
value: 'create-file-request',
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
let functionList = [
|
||||
@@ -745,6 +757,10 @@ export default {
|
||||
if (arg.action.value === 'create-team-folder') {
|
||||
this.$createTeamFolder()
|
||||
}
|
||||
|
||||
if (arg.action.value === 'create-file-request') {
|
||||
this.$createFileRequest()
|
||||
}
|
||||
}
|
||||
|
||||
this.exitSpotlight()
|
||||
|
||||
Reference in New Issue
Block a user