Commit 2403ee2 1 parent 5df9dfb commit 2403ee2 Copy full SHA for 2403ee2
File tree 2 files changed +4
-6
lines changed
frontend/modules/core/components/resource
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 15
15
<resource-exception-dialog v-if =" source && exceptions" :resource =" item.id" :source =" source" :category =" category" :height =" 32" btn-class =" ml-4" />
16
16
</template >
17
17
</v-list-item >
18
- <resource-source-results v-if =" open" :id =" item.id" :filter =" filter" />
18
+ <resource-source-results v-if =" open" :id =" item.id" :filter =" filter" :show-skipped = " showSkipped " :showed = " showed " />
19
19
</template >
20
20
21
21
<script setup lang="ts">
Original file line number Diff line number Diff line change 4
4
<v-list-item :class =" bg" >
5
5
<v-list-item-title >{{ capilize(item.source) }}</v-list-item-title >
6
6
<template v-slot :append >
7
- <ResultChip :status =" Status.PASS" :count =" item.pass" tooltip =" pass results" />
8
- <ResultChip class =" ml-2" :status =" Status.WARN" :count =" item.warn" tooltip =" warning results" />
9
- <ResultChip class =" ml-2" :status =" Status.FAIL" :count =" item.fail" tooltip =" fail results" />
10
- <ResultChip class =" ml-2" :status =" Status.ERROR" :count =" item.error" tooltip =" error results" />
7
+ <ResultChip v-if =" showSkipped" class =" ml-2" :status =" Status.SKIP" :count =" item[Status.SKIP]" tooltip =" skip results" />
8
+ <ResultChip v-for =" status in showed" :key =" status" class =" ml-2" :status =" status" :count =" item[status]" :tooltip =" `${status} results`" />
11
9
</template >
12
10
</v-list-item >
13
11
</template >
17
15
import { type Filter , Status } from ' ~/modules/core/types'
18
16
import { capilize } from " ~/modules/core/layouthHelper" ;
19
17
20
- const props = defineProps <{ id: string ; filter? : Filter ; }>()
18
+ const props = defineProps <{ id: string ; filter? : Filter ; showSkipped : boolean ; showed : Status []; }>()
21
19
22
20
const bg = useBGColor ()
23
21
You can’t perform that action at this time.
0 commit comments