Skip to content

Commit

Permalink
fix: update color binding for public collection indicator in Collecti…
Browse files Browse the repository at this point in the history
…onInfoDrawer
  • Loading branch information
zurdi15 committed Dec 26, 2024
1 parent 2c0c9ac commit ee541e9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,10 @@ async function updateCollection() {
currentCollection.description
}}</span>
</div>
<v-chip class="mt-4" size="small" color="romm-accent-1"
<v-chip
class="mt-4"
size="small"
:color="currentCollection.is_public ? 'romm-accent-1' : ''"
><v-icon class="mr-1">{{
currentCollection.is_public ? "mdi-lock-open" : "mdi-lock"
}}</v-icon
Expand Down

0 comments on commit ee541e9

Please sign in to comment.