diff --git a/src/components/quick-actions/quick-actions.vue b/src/components/quick-actions/quick-actions.vue index 5b4098e723..5c078a6e31 100644 --- a/src/components/quick-actions/quick-actions.vue +++ b/src/components/quick-actions/quick-actions.vue @@ -22,6 +22,8 @@
{{ hintText }} + + {{ searchMode }}
@@ -137,11 +139,11 @@ function closeQuickActions() { } const foundProjects = computed(() => { - const {project} = parsedQuery.value + const {project, text} = parsedQuery.value if ( searchMode.value === SEARCH_MODE.ALL || searchMode.value === SEARCH_MODE.PROJECTS || - project === null + text === '' ) { return [] } @@ -175,16 +177,16 @@ const results = computed(() => { title: t('quickActions.commands'), items: foundCommands.value, }, - { - type: ACTION_TYPE.TASK, - title: t('quickActions.tasks'), - items: foundTasks.value, - }, { type: ACTION_TYPE.PROJECT, title: t('quickActions.projects'), items: foundProjects.value, }, + { + type: ACTION_TYPE.TASK, + title: t('quickActions.tasks'), + items: foundTasks.value, + }, { type: ACTION_TYPE.TEAM, title: t('quickActions.teams'),