Skip to content

Commit

Permalink
Remove redundant ariaLabel prop (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-blazhko authored Jul 5, 2023
1 parent c40369b commit 1012387
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* Cover ItemInformation by jest/RTL tests. Refs UIREQ-949.
* Cover InstanceInformation by jest/RTL tests. Refs UIREQ-950.
* Fix inconsistency in RTL/Jest tests. Refs UIREQ-979.
* Remove redundant ariaLabel prop. Refs UIREQ-972.

## [8.0.2](https://github.com/folio-org/ui-requests/tree/v8.0.2) (2023-03-29)
[Full Changelog](https://github.com/folio-org/ui-requests/compare/v8.0.1...v8.0.2)
Expand Down
1 change: 0 additions & 1 deletion src/ItemsDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ const ItemsDialog = ({
: <MultiColumnList
id="instance-items-list"
interactive
ariaLabel={formatMessage({ id: 'ui-requests.items.instanceItems' })}
contentData={contentData}
visibleColumns={COLUMN_NAMES}
columnMapping={COLUMN_MAP}
Expand Down
3 changes: 0 additions & 3 deletions src/ItemsDialog.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ describe('ItemsDialog', () => {
expect.objectContaining({
id: 'instance-items-list',
interactive: true,
ariaLabel: labelIds.instanceItems,
contentData: [],
visibleColumns: COLUMN_NAMES,
columnMapping: COLUMN_MAP,
Expand Down Expand Up @@ -236,7 +235,6 @@ describe('ItemsDialog', () => {
{
id: 'instance-items-list',
interactive: true,
ariaLabel: labelIds.instanceItems,
contentData: [{
id: '2',
status: {
Expand Down Expand Up @@ -397,7 +395,6 @@ describe('ItemsDialog', () => {
{
id: 'instance-items-list',
interactive: true,
ariaLabel: labelIds.instanceItems,
contentData: [],
visibleColumns: COLUMN_NAMES,
columnMapping: COLUMN_MAP,
Expand Down

0 comments on commit 1012387

Please sign in to comment.