mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashboards: ensure that uid is returned from getSaveModelClone
Without this the uid will not be sent to the backend when saving a dashboard. #7883
This commit is contained in:
parent
fd59241e35
commit
6ab526881a
@ -12,6 +12,7 @@ import { DashboardMigrator } from './dashboard_migration';
|
||||
|
||||
export class DashboardModel {
|
||||
id: any;
|
||||
uid: any;
|
||||
title: any;
|
||||
autoUpdate: any;
|
||||
description: any;
|
||||
@ -56,6 +57,7 @@ export class DashboardModel {
|
||||
|
||||
this.events = new Emitter();
|
||||
this.id = data.id || null;
|
||||
this.uid = data.uid || null;
|
||||
this.revision = data.revision;
|
||||
this.title = data.title || 'No Title';
|
||||
this.autoUpdate = data.autoUpdate;
|
||||
|
Loading…
Reference in New Issue
Block a user