diff --git a/public/app/app.ts b/public/app/app.ts index fedbda115589..aa0332b20a75 100644 --- a/public/app/app.ts +++ b/public/app/app.ts @@ -15,7 +15,6 @@ import { createRoot } from 'react-dom/client'; import { locationUtil, monacoLanguageRegistry, - OrgRole, setLocale, setTimeZoneResolver, setWeekStart, @@ -280,7 +279,7 @@ function initEchoSrv() { } }); - if (contextSrv.user.orgRole !== OrgRole.None) { + if (contextSrv.user.orgRole !== '') { registerEchoBackend(new PerformanceBackend({})); }