From ad83c927e65101a22c155ba4e818039a5dae23cd Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Sun, 19 Oct 2025 20:32:28 -0400 Subject: [PATCH] Fixed roles page console warnings --- ui/src/api/roles.ts | 2 +- ui/src/pages/ManageRoles.vue | 240 ++++++++++++++++------------------- 2 files changed, 112 insertions(+), 130 deletions(-) diff --git a/ui/src/api/roles.ts b/ui/src/api/roles.ts index ef669d7..c128dbf 100644 --- a/ui/src/api/roles.ts +++ b/ui/src/api/roles.ts @@ -15,7 +15,7 @@ export async function getRoles(): Promise { if (res.ok) { return res.json() as Promise; } else { - console.error("Something went wrong approving the application") + console.error("Something went wrong") return []; } } diff --git a/ui/src/pages/ManageRoles.vue b/ui/src/pages/ManageRoles.vue index 323b4e4..fa3a0aa 100644 --- a/ui/src/pages/ManageRoles.vue +++ b/ui/src/pages/ManageRoles.vue @@ -138,136 +138,118 @@ onMounted(async () => { }) \ No newline at end of file