From bf9826873e0044e34ee1e2aca0ec7e983518b5ed Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 7 Feb 2021 18:21:13 +0100 Subject: [PATCH] web: fix outpost item in sidebar being active on service connection views --- authentik/admin/urls.py | 8 ++++---- web/src/interfaces/AdminInterface.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/authentik/admin/urls.py b/authentik/admin/urls.py index fa90ab1d6..577bdfbc6 100644 --- a/authentik/admin/urls.py +++ b/authentik/admin/urls.py @@ -333,22 +333,22 @@ urlpatterns = [ ), # Outpost Service Connections path( - "outposts/service_connections/", + "outpost_service_connections/", outposts_service_connections.OutpostServiceConnectionListView.as_view(), name="outpost-service-connections", ), path( - "outposts/service_connections/create/", + "outpost_service_connections/create/", outposts_service_connections.OutpostServiceConnectionCreateView.as_view(), name="outpost-service-connection-create", ), path( - "outposts/service_connections//update/", + "outpost_service_connections//update/", outposts_service_connections.OutpostServiceConnectionUpdateView.as_view(), name="outpost-service-connection-update", ), path( - "outposts/service_connections//delete/", + "outpost_service_connections//delete/", outposts_service_connections.OutpostServiceConnectionDeleteView.as_view(), name="outpost-service-connection-delete", ), diff --git a/web/src/interfaces/AdminInterface.ts b/web/src/interfaces/AdminInterface.ts index d370e04d8..a6482ea20 100644 --- a/web/src/interfaces/AdminInterface.ts +++ b/web/src/interfaces/AdminInterface.ts @@ -28,7 +28,7 @@ export const SIDEBAR_ITEMS: SidebarItem[] = [ ), new SidebarItem("Providers", "/providers"), new SidebarItem("Outposts", "/administration/outposts/"), - new SidebarItem("Outpost Service Connections", "/administration/outposts/service_connections/"), + new SidebarItem("Outpost Service Connections", "/administration/outpost_service_connections/"), ).when((): Promise => { return User.me().then(u => u.is_superuser); }),