Skip to content

Commit

Permalink
UIIN-2760: add modal title for removing piece
Browse files Browse the repository at this point in the history
  • Loading branch information
alisher-epam committed Jun 20, 2024
1 parent a2b35e8 commit f3178ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BoundPiecesList/BoundPiecesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ const BoundPiecesList = ({ id, itemId }) => {
<ConfirmationModal
id="delete-confirmation-modal"
open={open}
showHeader={false}
onConfirm={handleRemove}
onCancel={toggleOpen}
heading={<FormattedMessage id="ui-inventory.boundPieces.remove.heading" />}
message={<FormattedMessage id="ui-inventory.boundPieces.remove.message" />}
confirmLabel={<FormattedMessage id="ui-inventory.boundPieces.remove.button" />}
/>
Expand Down
1 change: 1 addition & 0 deletions translations/ui-inventory/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@

"boundPieces.remove.success": "Bound piece successfully removed",
"boundPieces.remove.error": "Bound piece deletion failed",
"boundPieces.remove.heading": "Are you sure?",
"boundPieces.remove.message": "Remove this piece from the bound item?",
"boundPieces.remove.button": "Remove",

Expand Down

0 comments on commit f3178ee

Please sign in to comment.