mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DashboardScene: Map timezone and fiscal year to scene model and back (#75715)
* DashboardScene: Map timezone and fiscal year to scene model and back * weekstart * update scenes
This commit is contained in:
@@ -208,7 +208,13 @@ export function createDashboardSceneFromDashboardModel(oldModel: DashboardModel)
|
||||
isLazy: true,
|
||||
children: createSceneObjectsForPanels(oldModel.panels),
|
||||
}),
|
||||
$timeRange: new SceneTimeRange(oldModel.time),
|
||||
$timeRange: new SceneTimeRange({
|
||||
from: oldModel.time.from,
|
||||
to: oldModel.time.to,
|
||||
fiscalYearStartMonth: oldModel.fiscalYearStartMonth,
|
||||
timeZone: oldModel.timezone,
|
||||
weekStart: oldModel.weekStart,
|
||||
}),
|
||||
$variables: variables,
|
||||
$behaviors: [
|
||||
new behaviors.CursorSync({
|
||||
|
||||
Reference in New Issue
Block a user