1
0

fix: rename getParentProjects method to make it clear what it does

This commit is contained in:
kolaente
2023-04-12 11:42:59 +02:00
parent 4ab547810c
commit 39f699a61a
3 changed files with 6 additions and 6 deletions

View File

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