Skip to content

Commit f40d857

Browse files
committed
fix: minor widget fixes
1 parent 3792f2a commit f40d857

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/pluggableWidgets/datagrid-web/src/Datagrid.editorConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ function hideSelectionProperties(defaultProperties: Properties, values: Datagrid
137137
hidePropertiesIn(defaultProperties, values, [
138138
"keepSelection",
139139
"selectionCounterPosition",
140-
"clearSelectionButtonLabel"
140+
"clearSelectionButtonLabel",
141+
"enableSelectAll"
141142
]);
142143
}
143144
}

packages/pluggableWidgets/gallery-web/src/components/Gallery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function Gallery<T extends ObjectItem>(props: GalleryProps<T>): ReactElem
8080
props.paging && (props.paginationPosition === "bottom" || props.paginationPosition === "both");
8181

8282
const selectionCounter =
83-
!props.preview && props.selectionCountPosition !== "off" ? (
83+
!props.preview && props.selectionCountPosition !== "off" && props.selectHelper.selectionType === "Multi" ? (
8484
<SelectionCounter location={props.selectionCountPosition} />
8585
) : null;
8686

0 commit comments

Comments
 (0)