Skip to content

Commit af3b68c

Browse files
committed
fix: update selection count logic to include multi-selection type
1 parent 0172235 commit af3b68c

File tree

1 file changed

+4
-1
lines changed
  • packages/pluggableWidgets/datagrid-web/src/components

1 file changed

+4
-1
lines changed

packages/pluggableWidgets/datagrid-web/src/components/Widget.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,10 @@ const Main = observer(<C extends GridColumn>(props: WidgetProps<C>): ReactElemen
157157
) : null;
158158

159159
const selectionCount =
160-
selectionCountStore.selectedCount > 0 && selectionCountPosition !== "off" && selectionCountPosition ? (
160+
selectionCountStore.selectedCount > 0 &&
161+
selectActionHelper.selectionType === "Multi" &&
162+
selectionCountPosition !== "off" &&
163+
selectionCountPosition ? (
161164
<SelectionCounter location={selectionCountPosition} />
162165
) : null;
163166

0 commit comments

Comments
 (0)