From ad3ffacf45f481048aa6264dc89c6051f26bce45 Mon Sep 17 00:00:00 2001 From: Tarun Singh Date: Thu, 13 Jul 2023 20:37:21 -0400 Subject: [PATCH] PR comment fix --- src/components/PublicGroupList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PublicGroupList.vue b/src/components/PublicGroupList.vue index ef30e2f5..1b75d42b 100644 --- a/src/components/PublicGroupList.vue +++ b/src/components/PublicGroupList.vue @@ -181,8 +181,8 @@ export default { * @returns {string} */ certExpiryColor(monitor) { - if (monitor?.element?.validCert) { - return monitor.element.certExpiryDaysRemaining > 7 ? "primary" : "danger"; + if (monitor?.element?.validCert && monitor.element.certExpiryDaysRemaining > 7) { + return "primary"; } return "danger"; },