Skip to content

Commit

Permalink
optional color
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Jul 28, 2024
1 parent 8387232 commit c0ae04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TagChip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<template>
<IonChip>
<IonAvatar>
<IonAvatar v-if="tags?.find(x => x.uuid === props.tag)!.color">
<div :style="{
backgroundColor: tags?.find(x => x.uuid === props.tag)!.color
}"></div>
Expand Down

0 comments on commit c0ae04f

Please sign in to comment.