fix: don't show > for top-level projects

This commit is contained in:
kolaente 2023-03-29 17:12:59 +02:00
parent ee8f80cc70
commit 03f4d0b8bc
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
@search="findProjects"
>
<template #searchResult="{option}">
<span class="has-text-grey">
<span class="has-text-grey" v-if="projectStore.getParentProjects(option).length > 1">
{{ projectStore.getParentProjects(option).filter(p => p.id !== option.id).map(p => getProjectTitle(p)).join(' &gt; ') }} &gt;
</span>
{{ getProjectTitle(option) }}