feat: quotation stats
This commit is contained in:
parent
c5b3e4dbd7
commit
1d73d8084e
4 changed files with 89 additions and 179 deletions
|
|
@ -2,6 +2,7 @@
|
|||
const props = withDefaults(
|
||||
defineProps<{
|
||||
branch: {
|
||||
hidden?: boolean;
|
||||
icon: string;
|
||||
count: number;
|
||||
label: string;
|
||||
|
|
@ -32,7 +33,7 @@ const props = withDefaults(
|
|||
<template>
|
||||
<div class="row no-wrap" style="gap: var(--size-4)" :class="{ dark }">
|
||||
<div
|
||||
v-for="v in props.branch"
|
||||
v-for="v in branch.filter((v) => !v.hidden)"
|
||||
class="no-padding stat-card"
|
||||
:class="{ [`stat-card__${v.color}`]: true }"
|
||||
:key="v.label"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue