fix: move the collapsable placeholder to the button

This commit is contained in:
kolaente 2023-04-12 10:34:41 +02:00
parent 1a94496801
commit 1344026494
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -11,12 +11,12 @@
>
<icon icon="chevron-down" :class="{ 'project-is-collapsed': !childProjectsOpen }"/>
</BaseButton>
<span class="collapse-project-button-placeholder" v-else></span>
<BaseButton
:to="{ name: 'project.index', params: { projectId: project.id} }"
class="list-menu-link"
:class="{'router-link-exact-active': currentProject.id === project.id}"
>
<span class="collapse-project-button-placeholder" v-if="!canCollapse || childProjects?.length === 0"></span>
<ColorBubble
v-if="project.hexColor !== ''"
:color="project.hexColor"