|
|
@ -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";
|
|
|
|
},
|
|
|
|
},
|
|
|
|