Skip to content

Commit 4b0ae73

Browse files
committed
fix(dashboard): can't duplicate a panel since
1 parent 0192d23 commit 4b0ae73

File tree

1 file changed

+3
-0
lines changed
  • dashboard/src/dashboard-editor/model/panels

1 file changed

+3
-0
lines changed

dashboard/src/dashboard-editor/model/panels/panels.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ export const PanelsModel = types
7272
self.list.push({
7373
...base.json,
7474
id: newID,
75+
title: {
76+
...base.json.title,
77+
},
7578
layout: {
7679
...base.layout,
7780
y: Infinity,

0 commit comments

Comments
 (0)