diff --git a/public/app/features/dashboard/components/DashboardSettings/SettingsCtrl.ts b/public/app/features/dashboard/components/DashboardSettings/SettingsCtrl.ts index 5fffadf472f..03ca5aba711 100644 --- a/public/app/features/dashboard/components/DashboardSettings/SettingsCtrl.ts +++ b/public/app/features/dashboard/components/DashboardSettings/SettingsCtrl.ts @@ -12,6 +12,7 @@ import { CoreEvents } from 'app/types'; import { GrafanaRootScope } from 'app/routes/GrafanaCtrl'; import { AppEvents } from '@grafana/data'; import { promiseToDigest } from '../../../../core/utils/promiseToDigest'; +import locationUtil from 'app/core/utils/location_util'; export class SettingsCtrl { dashboard: DashboardModel; @@ -184,7 +185,7 @@ export class SettingsCtrl { this.buildSectionList(); const currentSection: any = _.find(this.sections, { id: this.viewId } as any); - this.$location.url(currentSection.url); + this.$location.url(locationUtil.stripBaseFromUrl(currentSection.url)); } deleteDashboard() {