mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Remove super old prop that has not been used in years (#50826)
This commit is contained in:
@@ -66,7 +66,6 @@ describe('SaveDashboardAsForm', () => {
|
||||
expect(savedDashboardModel.id).toBe(null);
|
||||
expect(savedDashboardModel.title).toBe('name');
|
||||
expect(savedDashboardModel.editable).toBe(true);
|
||||
expect(savedDashboardModel.hideControls).toBe(false);
|
||||
});
|
||||
|
||||
it("appends 'Copy' to the name when the dashboard isnt new", async () => {
|
||||
|
||||
@@ -19,7 +19,6 @@ const getSaveAsDashboardClone = (dashboard: DashboardModel) => {
|
||||
clone.uid = '';
|
||||
clone.title += ' Copy';
|
||||
clone.editable = true;
|
||||
clone.hideControls = false;
|
||||
|
||||
// remove alerts if source dashboard is already persisted
|
||||
// do not want to create alert dupes
|
||||
|
||||
@@ -72,7 +72,6 @@ export function restore(version: any, restoredFrom?: any): any {
|
||||
editable: true,
|
||||
gnetId: null,
|
||||
graphTooltip: 0,
|
||||
hideControls: false,
|
||||
id: 1,
|
||||
links: [],
|
||||
restoredFrom: restoredFrom,
|
||||
|
||||
Reference in New Issue
Block a user