Skip to content

Commit

Permalink
[gui] Show review status in Report Tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
csordasmarton committed Nov 25, 2020
1 parent dadbe9b commit ee7e0a2
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
</span>

<report-tree-icon :item="item" />

<review-status-icon
v-if="item.kind === ReportTreeKind.REPORT"
:status="parseInt(item.report.reviewData.status)"
/>
</template>

<template v-slot:label="{ item }">
Expand All @@ -42,6 +47,8 @@ import {
ReportFilter
} from "@cc/report-server-types";
import { ReviewStatusIcon } from "@/components/Icons";
import ReportTreeIcon from "./ReportTreeIcon";
import ReportTreeLabel from "./ReportTreeLabel";
import ReportTreeKind from "./ReportTreeKind";
Expand All @@ -52,7 +59,8 @@ export default {
name: "ReportTree",
components: {
ReportTreeIcon,
ReportTreeLabel
ReportTreeLabel,
ReviewStatusIcon
},
props: {
Expand Down

0 comments on commit ee7e0a2

Please sign in to comment.