diff --git a/src/components/quick-actions/quick-actions.vue b/src/components/quick-actions/quick-actions.vue index 5c078a6e31..d70ca7d0ea 100644 --- a/src/components/quick-actions/quick-actions.vue +++ b/src/components/quick-actions/quick-actions.vue @@ -22,11 +22,9 @@
{{ hintText }} - - {{ searchMode }}
- +
@@ -151,12 +149,12 @@ const foundProjects = computed(() => { const history = getHistory() const allProjects = [ ...new Set([ - ...history.map((l) => projectStore.projects[l.id]), + ...history.map((p) => projectStore.projects[p.id]), ...projectStore.searchProject(project), ]), ] - return allProjects.filter(l => Boolean(l)) + return allProjects.filter(p => Boolean(p)) }) // FIXME: use fuzzysearch @@ -625,10 +623,4 @@ function reset() { background: var(--grey-100); } } - -// HACK: -// FIXME: -.modal-container-smaller :deep(.hint-modal .modal-container) { - height: calc(100vh - 5rem); -} \ No newline at end of file diff --git a/src/components/tasks/partials/quick-add-magic.vue b/src/components/tasks/partials/quick-add-magic.vue index 30818a0ffb..9595fb178f 100644 --- a/src/components/tasks/partials/quick-add-magic.vue +++ b/src/components/tasks/partials/quick-add-magic.vue @@ -108,7 +108,7 @@ const visible = ref(false) const mode = computed(() => authStore.settings.frontendSettings.quickAddMagicMode) defineProps<{ - highlightHintIcon: boolean, + highlightHintIcon?: boolean, }>() const prefixes = computed(() => PREFIXES[mode.value])