Make check mark green if non-leaf QC item has no children.

If a test passes for all items, show the (single) check mark
and colour it green.

Leaf nodes always have their check mark in the default colour.

Related to #90.
This commit is contained in:
D. Berge
2021-05-08 04:08:37 +02:00
parent 7bb3a3910b
commit c0ace1fe07

View File

@@ -117,7 +117,7 @@
color="primary" color="primary"
title="Accept this value" title="Accept this value"
@click="accept(item)"> @click="accept(item)">
<v-icon small>mdi-check</v-icon> <v-icon small :color="(item.children && item.children.length == 0)? 'green':''">mdi-check</v-icon>
</v-btn> </v-btn>
</v-hover> </v-hover>
</template> </template>