Skip to content

Commit

Permalink
style: minor SpoolmanCard color fix
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Oct 4, 2023
1 parent 5734323 commit 3566723
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/components/widgets/spoolman/SpoolmanCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,17 @@
class="pa-0"
>
<v-icon
:color="`#${activeSpool?.filament.color_hex ?? ($vuetify.theme.dark ? 'fff' : '000')}`"
:size="activeSpool ? '110px' : '55px'"
v-if="activeSpool"
:color="activeSpool.filament.color_hex ? `#${activeSpool.filament.color_hex}` : undefined"
size="110px"
>
{{ activeSpool ? '$filament' : '$progressQuestion' }}
$filament
</v-icon>
<v-icon
v-else
size="55px"
>
$progressQuestion
</v-icon>
</v-col>
</v-row>
Expand Down

0 comments on commit 3566723

Please sign in to comment.