From b7d1b9d4e8539408f2196e2c8052f69525544164 Mon Sep 17 00:00:00 2001 From: Tom Coombs Date: Mon, 23 Sep 2024 19:39:56 -0400 Subject: [PATCH] removing certs --- src/views/admin/controllers/Activity.vue | 2 +- src/views/controllers/Roster.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/admin/controllers/Activity.vue b/src/views/admin/controllers/Activity.vue index 7e43fb8a..1241f8f6 100644 --- a/src/views/admin/controllers/Activity.vue +++ b/src/views/admin/controllers/Activity.vue @@ -168,7 +168,7 @@ export default { certsToShow.push(cert); } else { const certPos = cert.code.slice(-3); - if(!hasCerts.includes(`p50${certPos}`)) { + if(!hasCerts.includes(`p50${certPos}`) && !cert.code.endsWith('s')) { certsToShow.push(cert); } } diff --git a/src/views/controllers/Roster.vue b/src/views/controllers/Roster.vue index 7a9f6cc4..eafd3f2d 100644 --- a/src/views/controllers/Roster.vue +++ b/src/views/controllers/Roster.vue @@ -191,7 +191,7 @@ certsToShow.push(cert); else { const certPos = cert.code.slice(-3); - if (!hasCerts.includes(`p50${certPos}`)) { + if (!hasCerts.includes(`p50${certPos}`)&& !cert.code.endsWith('s')) { certsToShow.push(cert); } }