feature/projects-all-the-way-down #3323
|
@ -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"
|
||||
|
|
Reference in New Issue
Block a user
Fix indention
Pass 'handle class name from parent => separate concerns / source of truth
But the indention is correct?
Can you explain that a little more?
The
handle
selector is used in the child. Currently we define it in the parent. We should pass this information down to the child. Might also be via creating a slot in the child where we put in the handle.