From ce3e34e9b31dad49435fe8a28068facdcb68eed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20L=C3=B3pez=20de=20la=20Franca=20Beltran?= Date: Fri, 15 Jan 2021 00:12:08 +0100 Subject: [PATCH] Plugins: Use the includes.path (if exists) on sidebar includes links (#30291) --- public/app/features/plugins/PluginPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/features/plugins/PluginPage.tsx b/public/app/features/plugins/PluginPage.tsx index 6176e22034e..fe5349f6e93 100644 --- a/public/app/features/plugins/PluginPage.tsx +++ b/public/app/features/plugins/PluginPage.tsx @@ -212,8 +212,9 @@ class PluginPage extends PureComponent { if (item.type === PluginIncludeType.page) { const pluginId = this.state.plugin!.meta.id; const page = item.name.toLowerCase().replace(' ', '-'); + const url = item.path ?? `plugins/${pluginId}/page/${page}`; return ( - + {item.name}