mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 01:00:24 +08:00
Plugins: Prevent catalog from listing installed embedded plugins (#36675)
This commit is contained in:
@ -44,7 +44,7 @@ async function getPluginVersions(id: string): Promise<any[]> {
|
||||
}
|
||||
|
||||
async function getInstalledPlugins(): Promise<any> {
|
||||
const installed = await getBackendSrv().get(`${API_ROOT}`);
|
||||
const installed = await getBackendSrv().get(`${API_ROOT}`, { embedded: 0 });
|
||||
return installed;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user