mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Don't show unsaved changes modal for automatic schema changes (#50822)
* Dashboard: Don't show unsaved changes modal for automatic schema changes * More refinements * Fix logic in updateGridPos
This commit is contained in:
@@ -50,8 +50,8 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
|
||||
};
|
||||
|
||||
onUpdate = (title: string, repeat?: string | null) => {
|
||||
this.props.panel['title'] = title;
|
||||
this.props.panel['repeat'] = repeat ?? undefined;
|
||||
this.props.panel.setProperty('title', title);
|
||||
this.props.panel.setProperty('repeat', repeat ?? undefined);
|
||||
this.props.panel.render();
|
||||
this.props.dashboard.processRepeats();
|
||||
this.forceUpdate();
|
||||
|
||||
Reference in New Issue
Block a user