From 09b244292bb9b2e20ef055bbe202c0427c2db26b Mon Sep 17 00:00:00 2001 From: Melloware Date: Sun, 25 Sep 2022 09:07:45 -0400 Subject: [PATCH] Fix #3365: RowsPerPageDropdown proper aria-label (#3366) --- components/lib/paginator/RowsPerPageDropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/paginator/RowsPerPageDropdown.js b/components/lib/paginator/RowsPerPageDropdown.js index 1ef660be1a..3ac3f610d6 100644 --- a/components/lib/paginator/RowsPerPageDropdown.js +++ b/components/lib/paginator/RowsPerPageDropdown.js @@ -7,7 +7,7 @@ export const RowsPerPageDropdown = React.memo((props) => { const hasOptions = props.options && props.options.length > 0; const options = hasOptions ? props.options.map((opt) => ({ label: String(opt), value: opt })) : []; const ariaLabel = localeOption('choose'); - const element = hasOptions ? : null; + const element = hasOptions ? : null; if (props.template) { const defaultOptions = {