Bug fix and unknown days added

pull/3357/head
Tarun Singh 1 year ago
parent ad3ffacf45
commit 2e75142fe5

@ -60,7 +60,7 @@
@click="$refs.monitorSettingDialog.show(group, monitor)" @click="$refs.monitorSettingDialog.show(group, monitor)"
/> />
</span> </span>
<span class="badge rounded-pill" :class=" 'bg-' + certExpiryColor(monitor)"> {{ $t("Expiry") }}: {{ formattedCertExpiryMessage(monitor) }} </span> <span v-if="showCertificateExpiry" class="badge rounded-pill" :class=" 'bg-' + certExpiryColor(monitor)"> {{ $t("Expiry") }}: {{ formattedCertExpiryMessage(monitor) }} </span>
</div> </div>
<div v-if="showTags" class="tags"> <div v-if="showTags" class="tags">
<Tag v-for="tag in monitor.element.tags" :key="tag" :item="tag" :size="'sm'" /> <Tag v-for="tag in monitor.element.tags" :key="tag" :item="tag" :size="'sm'" />
@ -171,7 +171,7 @@ export default {
} else if (monitor?.element?.validCert === false) { } else if (monitor?.element?.validCert === false) {
return this.$t("noOrBadCertificate"); return this.$t("noOrBadCertificate");
} else { } else {
return ""; return this.$t("Unknown") + " " + this.$tc("day", 2);
} }
}, },

Loading…
Cancel
Save