From 1012387964faadf7c9dea09df29c7395ce21dcba Mon Sep 17 00:00:00 2001 From: Artem Blazhko Date: Wed, 5 Jul 2023 15:38:24 +0300 Subject: [PATCH] Remove redundant ariaLabel prop (#1071) --- CHANGELOG.md | 1 + src/ItemsDialog.js | 1 - src/ItemsDialog.test.js | 3 --- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17916e23..f04d2682 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/ItemsDialog.js b/src/ItemsDialog.js index 0444d865..77d3e3d3 100644 --- a/src/ItemsDialog.js +++ b/src/ItemsDialog.js @@ -212,7 +212,6 @@ const ItemsDialog = ({ : { expect.objectContaining({ id: 'instance-items-list', interactive: true, - ariaLabel: labelIds.instanceItems, contentData: [], visibleColumns: COLUMN_NAMES, columnMapping: COLUMN_MAP, @@ -236,7 +235,6 @@ describe('ItemsDialog', () => { { id: 'instance-items-list', interactive: true, - ariaLabel: labelIds.instanceItems, contentData: [{ id: '2', status: { @@ -397,7 +395,6 @@ describe('ItemsDialog', () => { { id: 'instance-items-list', interactive: true, - ariaLabel: labelIds.instanceItems, contentData: [], visibleColumns: COLUMN_NAMES, columnMapping: COLUMN_MAP,