mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:09:57 +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> {
|
async function getInstalledPlugins(): Promise<any> {
|
||||||
const installed = await getBackendSrv().get(`${API_ROOT}`);
|
const installed = await getBackendSrv().get(`${API_ROOT}`, { embedded: 0 });
|
||||||
return installed;
|
return installed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user