Skip to content

Commit 74587ec

Browse files
committed
fix: revert first parent field to assistViewFields
1 parent f6b333c commit 74587ec

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/app/pages/DashBoardPage/pages/BoardEditor/components/ControllerWidgetPanel/ControllerConfig/ValuesSetter/ValuesOptionsSetter

1 file changed

+1
-1
lines changed

frontend/src/app/pages/DashBoardPage/pages/BoardEditor/components/ControllerWidgetPanel/ControllerConfig/ValuesSetter/ValuesOptionsSetter/ValuesOptionsSetter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ const ValuesOptionsSetter: FC<{
338338

339339
if ((val as string[]).length) {
340340
mergedConfig.assistViewFields = mergedConfig.assistViewFields.concat(
341-
(val as string[])[val.length - 1],
341+
(val as string[])[0],
342342
);
343343
}
344344
}

0 commit comments

Comments
 (0)