fix: don't show > for top-level projects
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2023-03-29 17:12:59 +02:00
parent ecb8862872
commit 1f69763c3d
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) }}