Plugins: Prevent catalog from listing installed embedded plugins (#36675)

This commit is contained in:
Jack Westbrook 2021-07-16 12:33:56 +02:00 committed by GitHub
parent a6aab7d0c9
commit e2c64ae228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}