From ceb10e2877e86c76e471f0db3c9d5ec469fa00d7 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Mon, 25 Apr 2022 12:53:33 -0400 Subject: [PATCH] Update current route state for unhandled routes in app router --- src/components/appRouter.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/appRouter.js b/src/components/appRouter.js index 7cad70394a..cab40043b1 100644 --- a/src/components/appRouter.js +++ b/src/components/appRouter.js @@ -123,6 +123,10 @@ class AppRouter { }); } else { console.info('[appRouter] "%s" route not found', normalizedPath, location); + this.currentRouteInfo = { + route: {}, + path: normalizedPath + location.search + }; } }