Skip to content

Commit

Permalink
only show certs issued in the same facility as they are being viewed …
Browse files Browse the repository at this point in the history
…in (part 2, actually do it)
  • Loading branch information
c0repwn3r committed Mar 12, 2024
1 parent 9a2e25b commit 06697de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hq",
"version": "1.5.6",
"version": "1.5.7",
"private": true,
"scripts": {
"dev": "vite dev --port 3000",
Expand Down
2 changes: 2 additions & 0 deletions src/routes/[id]/roster/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export const load: PageServerLoad = async ({ fetch, cookies, params }) => {
}
}

roster_user.user.heldCertificates = cleaned_certs;

if (can(EXTENDED_ROSTER)) {
// extended. leave as-is
altered_roster.push(roster_user);
Expand Down

0 comments on commit 06697de

Please sign in to comment.