From 6396271b0f6424004bfb7a80eea2a38658f7acc6 Mon Sep 17 00:00:00 2001 From: CTomlyn Date: Fri, 17 May 2024 14:27:56 -0700 Subject: [PATCH] #1965 The tip config checkboxes in the test harness don't work on v13 (#1966) --- .../client/components/sidepanel/canvas/sidepanel-canvas.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/canvas_modules/harness/src/client/components/sidepanel/canvas/sidepanel-canvas.jsx b/canvas_modules/harness/src/client/components/sidepanel/canvas/sidepanel-canvas.jsx index 562252079c..37a60ac8dd 100644 --- a/canvas_modules/harness/src/client/components/sidepanel/canvas/sidepanel-canvas.jsx +++ b/canvas_modules/harness/src/client/components/sidepanel/canvas/sidepanel-canvas.jsx @@ -263,9 +263,9 @@ export default class SidePanelForms extends React.Component { this.props.setStateValue("selectedExampleApp", value); } - tipConfigChange(checked, target) { + tipConfigChange(event, { checked, id }) { const tipConf = Object.assign({}, this.props.getStateValue("selectedTipConfig")); - switch (target) { + switch (id) { case "tip_palette_categories": set(tipConf, "palette.categories", checked); break;