We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958b011 commit 6362eb7Copy full SHA for 6362eb7
1 file changed
packages/dashboard-core-plugins/src/panels/IrisGridPanel.tsx
@@ -423,6 +423,11 @@ export class IrisGridPanel extends PureComponent<
423
return null;
424
}
425
426
+ // TODO #2093: Find a better way to handle deprecated panel prop
427
+ const deprecatedProps = {
428
+ panel: this,
429
+ };
430
+
431
return (
432
<div className="iris-grid-plugin">
433
<Plugin
@@ -433,6 +438,8 @@ export class IrisGridPanel extends PureComponent<
438
table={model.table}
434
439
onStateChange={this.handlePluginStateChange}
435
440
pluginState={pluginState}
441
+ // eslint-disable-next-line react/jsx-props-no-spreading
442
+ {...deprecatedProps}
436
443
/>
437
444
</div>
445
);
0 commit comments