mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-30 16:26:16 +00:00
Bug fix and unknown days added
This commit is contained in:
parent
ad3ffacf45
commit
2e75142fe5
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue