Skip to content

Commit 0ff2360

Browse files
committed
feat: Cancel button on the modal
1 parent 1519942 commit 0ff2360

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

assets/js/Components/ReviewFilesPage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,7 @@ const getSectionPostOptions = (newFile, sectionReferences) => {
12961296
<div className='dialog-footer'>
12971297
<div className="subtext align-self-center">{t('files.label.selected_count', { count: deleteFileQueue.length })}</div>
12981298
<div className="flex-row gap-2">
1299+
<button className='btn btn-small btn-primary' onClick={() => closeDialog(unusedFileDialogId)}>{t(`fix.label.cancel`)}</button>
12991300
<button
13001301
className='btn btn-small btn-icon-left review-files-delete-button'
13011302
tabIndex='0'

translations/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
"fix.label.barrier_information": "Barrier Information",
268268
"fix.label.barrier_repair": "Repair this Barrier",
269269
"fix.label.or": "Or",
270+
"fix.label.cancel": "Cancel",
270271
"fix.label.and_or": "And/Or",
271272
"fix.label.no_changes": "No Changes Needed",
272273
"fix.label.no_changes_desc": "Only select this option if you have verified that this does not present an accessibility barrier.",

0 commit comments

Comments
 (0)