From 5ca03972a89763dba10ec741cb0b0ace9e412200 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Tue, 6 Feb 2018 10:02:28 +0100 Subject: [PATCH] org-switcher: should redirect to home page (#10782) Fixes #10776 --- public/app/core/components/org_switcher.ts | 10 +++------- public/app/core/specs/org_switcher.jest.ts | 13 +++++++++---- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/public/app/core/components/org_switcher.ts b/public/app/core/components/org_switcher.ts index d6efeb51779..1816e11af49 100644 --- a/public/app/core/components/org_switcher.ts +++ b/public/app/core/components/org_switcher.ts @@ -1,5 +1,6 @@ import coreModule from 'app/core/core_module'; import { contextSrv } from 'app/core/services/context_srv'; +import config from 'app/core/config'; const template = `