From 7d92c6800a86b0a3bad4d76d56ef5f0a86e0e325 Mon Sep 17 00:00:00 2001 From: yolossn Date: Wed, 28 Feb 2024 19:58:13 +0530 Subject: [PATCH] frontend: Make plugin settings available in all modes this patch makes the plugin settings available in all modes, earlier it wasn't available in in-cluster mode. Signed-off-by: yolossn --- frontend/src/components/Sidebar/prepareRoutes.ts | 1 - frontend/src/lib/router.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/frontend/src/components/Sidebar/prepareRoutes.ts b/frontend/src/components/Sidebar/prepareRoutes.ts index 9af8f2c32d1..53804a152a7 100644 --- a/frontend/src/components/Sidebar/prepareRoutes.ts +++ b/frontend/src/components/Sidebar/prepareRoutes.ts @@ -41,7 +41,6 @@ function prepareRoutes( name: 'plugins', label: t('translation|Plugins'), url: '/settings/plugins', - hide: !helpers.isElectron(), }, ], }, diff --git a/frontend/src/lib/router.tsx b/frontend/src/lib/router.tsx index 24b7fb8cc2a..279cff2fecb 100644 --- a/frontend/src/lib/router.tsx +++ b/frontend/src/lib/router.tsx @@ -721,7 +721,6 @@ const defaultRoutes: { }, useClusterURL: false, noAuthRequired: true, - disabled: !helpers.isElectron(), component: () => , }, pluginDetails: {