warning if unhealthy.

This commit is contained in:
Miroslav Šedivý
2022-08-04 21:08:17 +02:00
parent 3ef6387153
commit aab6311b83
+1 -1
View File
@@ -37,7 +37,7 @@
<i v-else>uses mux</i> <i v-else>uses mux</i>
</template> </template>
<template v-slot:[`item.status`]="{ item }"> <template v-slot:[`item.status`]="{ item }">
<v-chip :color="item.running ? 'green' : 'red'" dark small> {{ item.status }} </v-chip> <v-chip :color="item.running ? (item.status.includes('unhealthy') ? 'warning' : 'green') : 'red'" dark small> {{ item.status }} </v-chip>
</template> </template>
<template v-slot:[`item.created`]="{ item }"> <template v-slot:[`item.created`]="{ item }">
{{ item.created | timeago }} {{ item.created | timeago }}