Only show role tag if you have a role (#2968)
This commit is contained in:
committed by
GitHub
parent
3ccf9c6aea
commit
32040aca59
@@ -18,7 +18,11 @@
|
||||
project.modelCount.totalCount === 1 ? '' : 's'
|
||||
}}
|
||||
</CommonBadge>
|
||||
<CommonBadge rounded :color-classes="'text-foreground-2 bg-primary-muted'">
|
||||
<CommonBadge
|
||||
v-if="project.role"
|
||||
rounded
|
||||
:color-classes="'text-foreground-2 bg-primary-muted'"
|
||||
>
|
||||
<span class="capitalize">
|
||||
{{ project.role?.split(':').reverse()[0] }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user