Ban icon during health check failure

ban icon is now used if no glyph is set during healthcheck failure.
This commit is contained in:
Joe Bellus 2022-02-12 01:31:29 -05:00
parent bbee8c6460
commit f3c990c390
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<template>
<div :class="{tile: true, alive: appData.healthcheckStatus === true, dead: appData.healthcheckStatus === false}" @click="click">
<font-awesome-icon :icon="appData.glyph" size="2x" />
<font-awesome-icon v-if="appData.glyph" :icon="appData.glyph" size="2x" />
<font-awesome-icon v-if="!appData.glyph && appData.healthcheckStatus === false" icon="ban" size="2x" />
<div class="label">
<div class="title">{{appData.appName}}</div>
<div class="description">{{appData.description}}</div>