File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
packages/pluggableWidgets/datagrid-web/src/components Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,14 @@ export const SelectionCounter = observer(function SelectionCounter({
1313
1414 const containerClass = location === "top" ? "widget-datagrid-tb-start" : "widget-datagrid-pb-start" ;
1515
16- const clearButtonAriaLabel = `${ selectionCountStore . clearButtonLabel } (${ selectionCountStore . selectedCount } selected)` ;
17-
1816 return (
1917 < If condition = { selectionCountStore . displayCount !== "" } >
2018 < div className = { containerClass } >
2119 < span className = "widget-datagrid-selection-count" aria-live = "polite" aria-atomic = "true" >
2220 { selectionCountStore . displayCount }
2321 </ span >
2422 |
25- < button
26- className = "widget-datagrid-clear-selection"
27- onClick = { selectActionHelper . onClearSelection }
28- aria-label = { clearButtonAriaLabel }
29- >
23+ < button className = "widget-datagrid-clear-selection" onClick = { selectActionHelper . onClearSelection } >
3024 { selectionCountStore . clearButtonLabel }
3125 </ button >
3226 </ div >
You can’t perform that action at this time.
0 commit comments