(cherry picked from commit ce513e4637)
This commit is contained in:
+1
-3
@@ -1,8 +1,6 @@
|
||||
{
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"packages": ["packages/*"],
|
||||
"version": "7.5.8"
|
||||
}
|
||||
|
||||
+4
-2
@@ -34,7 +34,7 @@ import { checkBrowserCompatibility } from 'app/core/utils/browser';
|
||||
import { arrayMove } from 'app/core/utils/arrayMove';
|
||||
import { importPluginModule } from 'app/features/plugins/plugin_loader';
|
||||
import { angularModules, coreModule } from 'app/core/core_module';
|
||||
import { registerAngularDirectives } from 'app/core/core';
|
||||
import { contextSrv, registerAngularDirectives } from 'app/core/core';
|
||||
import { setupAngularRoutes } from 'app/routes/routes';
|
||||
import { registerEchoBackend, setEchoSrv } from '@grafana/runtime';
|
||||
import { Echo } from './core/services/echo/Echo';
|
||||
@@ -212,7 +212,9 @@ export class GrafanaApp {
|
||||
}
|
||||
});
|
||||
|
||||
registerEchoBackend(new PerformanceBackend({}));
|
||||
if (contextSrv.user.orgRole !== '') {
|
||||
registerEchoBackend(new PerformanceBackend({}));
|
||||
}
|
||||
|
||||
if (config.sentry.enabled) {
|
||||
registerEchoBackend(
|
||||
|
||||
Reference in New Issue
Block a user