From 6bfaf71c129543afb60a489e9ca0cb421fa3c79a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 30 Dec 2020 22:49:58 +0100 Subject: [PATCH] web: fix link on application list --- web/src/interfaces/AdminInterface.ts | 4 ++-- web/src/pages/applications/ApplicationListPage.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/interfaces/AdminInterface.ts b/web/src/interfaces/AdminInterface.ts index f4d7cedf3..3b88acc44 100644 --- a/web/src/interfaces/AdminInterface.ts +++ b/web/src/interfaces/AdminInterface.ts @@ -15,10 +15,10 @@ export const SIDEBAR_ITEMS: SidebarItem[] = [ }), new SidebarItem("Administration").children( new SidebarItem("Applications", "/applications").activeWhen( - `^/applications/(?${SLUG_REGEX})/$` + `^/applications/(?${SLUG_REGEX})$` ), new SidebarItem("Sources", "/administration/sources/").activeWhen( - `^/sources/(?${SLUG_REGEX})/$`, + `^/sources/(?${SLUG_REGEX})$`, ), new SidebarItem("Providers", "/administration/providers/"), new SidebarItem("Outposts", "/administration/outposts/"), diff --git a/web/src/pages/applications/ApplicationListPage.ts b/web/src/pages/applications/ApplicationListPage.ts index e1fd22e69..3d0927bb3 100644 --- a/web/src/pages/applications/ApplicationListPage.ts +++ b/web/src/pages/applications/ApplicationListPage.ts @@ -51,7 +51,7 @@ export class ApplicationListPage extends TablePage { ${item.meta_icon ? html`${gettext(` : html``}`, - html` + html`
${item.name}