|
|
|
@ -4,6 +4,7 @@ import { AppEvents } from '@grafana/data'; |
|
|
|
|
import { config, locationService } from '@grafana/runtime'; |
|
|
|
|
import { SceneObjectUrlSyncHandler, SceneObjectUrlValues, VizPanel } from '@grafana/scenes'; |
|
|
|
|
import appEvents from 'app/core/app_events'; |
|
|
|
|
import { contextSrv } from 'app/core/core'; |
|
|
|
|
import { KioskMode } from 'app/types'; |
|
|
|
|
|
|
|
|
|
import { PanelInspectDrawer } from '../inspect/PanelInspectDrawer'; |
|
|
|
@ -39,6 +40,7 @@ export class DashboardSceneUrlSync implements SceneObjectUrlSyncHandler { |
|
|
|
|
editPanel: state.editPanel?.getUrlKey() || undefined, |
|
|
|
|
kiosk: state.kioskMode === KioskMode.Full ? '' : state.kioskMode === KioskMode.TV ? 'tv' : undefined, |
|
|
|
|
shareView: state.shareView, |
|
|
|
|
orgId: contextSrv.user.orgId.toString(), |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|