Skip to content

Commit

Permalink
removing certs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcoombs2000 committed Sep 23, 2024
1 parent 4af9bb7 commit b7d1b9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/admin/controllers/Activity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/controllers/Roster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit b7d1b9d

Please sign in to comment.