Skip to content

Commit 85811dd

Browse files
authored
fix: CSV Drag and Drop Console Error (#2052)
Resolves #2037 **Changes Implemented:** - Changed the destructuring in the `ConsolePanel.tsx` `openWidget` method to set `title` to be the `name` if `title` is undefined
1 parent 139388d commit 85811dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/dashboard-core-plugins/src/panels/ConsolePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export class ConsolePanel extends PureComponent<
298298
assertNotNull(sessionWrapper);
299299

300300
const { config, session } = sessionWrapper;
301-
const { title } = widget;
301+
const { title = widget.name } = widget;
302302
assertNotNull(title);
303303
const panelId = this.getItemId(title);
304304
const openOptions = {

0 commit comments

Comments
 (0)