Skip to content

Commit 81ff852

Browse files
authored
Lighter text tags & reachability & fix clearing reachability's filter (#2016)
* lighter text for tags & reachability * fix error when clearing reachability's filter - resolves #2015
1 parent 97ff97b commit 81ff852

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

frontend/src/components/Mining/Table/MiningTable.vue

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@
377377
:key="tag"
378378
:value="getTagLabel(tag)"
379379
:severity="getTagColor(tag)"
380-
class="capitalize"
380+
class="capitalize font-normal"
381381
/>
382382
</div>
383383
</template>
@@ -388,14 +388,14 @@
388388
option-value="value"
389389
option-label="label"
390390
:placeholder="t('any')"
391-
class="p-column-filter"
391+
class="p-column-filter font-normal"
392392
display="chip"
393393
>
394394
<template #option="{ option }">
395395
<Tag
396396
:value="option.label"
397397
:severity="getTagColor(option.value)"
398-
class="capitalize"
398+
class="capitalize font-normal"
399399
/>
400400
</template>
401401
</MultiSelect>
@@ -420,6 +420,7 @@
420420
</template>
421421
<template #body="{ data }">
422422
<Tag
423+
class="font-normal"
423424
:value="getStatusLabel(data.status)"
424425
:severity="getStatusColor(data.status)"
425426
/>
@@ -435,7 +436,11 @@
435436
display="chip"
436437
>
437438
<template #option="{ option }">
438-
<Tag :value="option.label" :severity="option.color" />
439+
<Tag
440+
:value="option.label"
441+
:severity="option.color"
442+
class="font-normal"
443+
/>
439444
</template>
440445
</MultiSelect>
441446
</template>

frontend/src/stores/filters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export const useFiltersStore = defineStore('filters', () => {
159159
() => filters.value.status.value,
160160
(newStatusValue) => {
161161
validToggle.value =
162-
newStatusValue.length === 1 && newStatusValue[0] === 'VALID';
162+
newStatusValue?.length === 1 && newStatusValue[0] === 'VALID';
163163
},
164164
);
165165

0 commit comments

Comments
 (0)