mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
PR comment fix
This commit is contained in:
parent
6f4af30701
commit
ad3ffacf45
1 changed files with 2 additions and 2 deletions
|
@ -181,8 +181,8 @@ export default {
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
certExpiryColor(monitor) {
|
certExpiryColor(monitor) {
|
||||||
if (monitor?.element?.validCert) {
|
if (monitor?.element?.validCert && monitor.element.certExpiryDaysRemaining > 7) {
|
||||||
return monitor.element.certExpiryDaysRemaining > 7 ? "primary" : "danger";
|
return "primary";
|
||||||
}
|
}
|
||||||
return "danger";
|
return "danger";
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue