Skip to content

Commit

Permalink
fix source status list
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
fjogeleit committed Sep 2, 2024
1 parent 747aaa3 commit 05a2960
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<script setup lang="ts">
import { Status } from "~/modules/core/types";
const props = defineProps<{ data: { [key in Status]: number; }}>()
defineProps<{ data: { [key in Status]: number; }}>()
const status = useStatusInjection()
Expand Down
4 changes: 2 additions & 2 deletions frontend/modules/core/components/resource/SourceResults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<v-list-item :class="bg">
<v-list-item-title>{{ capilize(item.source) }}</v-list-item-title>
<template v-slot:append>
<ResultChip v-if="showSkipped" class="ml-2" :status="Status.SKIP" :count="item[Status.SKIP]" tooltip="skip results" />
<ResultChip v-for="status in showed" :key="status" class="ml-2" :status="status" :count="item[status]" :tooltip="`${status} results`" />
<ResultChip v-if="showSkipped" class="ml-2" :status="Status.SKIP" :count="item.status[Status.SKIP]" tooltip="skip results" />
<ResultChip v-for="status in showed" :key="status" class="ml-2" :status="status" :count="item.status[status]" :tooltip="`${status} results`" />
</template>
</v-list-item>
</template>
Expand Down

0 comments on commit 05a2960

Please sign in to comment.