- added file request into the spotlight

- after enter stop editing item name
This commit is contained in:
Čarodej
2022-02-25 08:35:21 +01:00
parent 45dcdcce16
commit 293eb679fa
11 changed files with 179 additions and 136 deletions
@@ -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()