From 9574ed4812eebac19090823ba1246a2b35580b40 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 2 Apr 2026 15:26:03 +0000 Subject: [PATCH] Fix warning on user edit component --- ts/router.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/router.ts b/ts/router.ts index 7fba910a..94c9d8cd 100644 --- a/ts/router.ts +++ b/ts/router.ts @@ -118,7 +118,9 @@ const routes: RouteRecordRaw[] = [ meta: { requiresAuth: true, showSidebar: true }, name: "User Edit", path: "/_/configuration/user/:id", - props: true, + props: (route) => ({ + id: parseInt(route.params.id as string, 10), + }), }, { path: "/_/intelligence",