Skip to content

Commit 6051fff

Browse files
committed
Exclude 'Table' type from unknown widget type error log (#293)
1 parent 56b1e27 commit 6051fff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

plugins/ui/src/js/src/DashboardPlugin.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import DashboardWidgetHandler from './widget/DashboardWidgetHandler';
3434

3535
const NAME_ELEMENT = 'deephaven.ui.Element';
3636
const DASHBOARD_ELEMENT = 'deephaven.ui.Dashboard';
37+
const TABLE_TYPE = 'Table';
3738
const PLUGIN_NAME = '@deephaven/js-plugin-ui.DashboardPlugin';
3839

3940
const log = Log.module('@deephaven/js-plugin-ui.DashboardPlugin');
@@ -144,6 +145,9 @@ export function DashboardPlugin(
144145
handleDashboardOpen({ widget, dashboardId: widgetId });
145146
break;
146147
}
148+
case TABLE_TYPE: {
149+
break;
150+
}
147151
default: {
148152
log.error('Unknown widget type', type);
149153
}

0 commit comments

Comments
 (0)