refactor(FE): Enable closing modals on backdrop click

This commit is contained in:
rstubryan
2026-02-03 11:23:07 +07:00
parent bb83acbe81
commit e5d6be446a
@@ -1058,7 +1058,7 @@ const UniformityTable = () => {
iconPosition='left'
text='Data Berhasil Ditambahkan'
subtitleText='Data uniformity telah berhasil disimpan.'
closeOnBackdrop={false}
closeOnBackdrop={true}
primaryButton={{
text: 'Ok',
color: 'primary',
@@ -1089,6 +1089,7 @@ const UniformityTable = () => {
ref={singleDeleteModal.ref}
type='error'
iconPosition='left'
closeOnBackdrop={true}
text={`Delete This Data?`}
subtitleText='Are you sure you want to delete this data?'
secondaryButton={{
@@ -1113,6 +1114,7 @@ const UniformityTable = () => {
ref={singleApproveModal.ref}
type='success'
iconPosition='left'
closeOnBackdrop={true}
text='Approve This Submission?'
subtitleText='Are you sure you want to approve this submission?'
secondaryButton={{
@@ -1142,6 +1144,7 @@ const UniformityTable = () => {
ref={bulkApproveModal.ref}
type='success'
iconPosition='left'
closeOnBackdrop={true}
text={`Approve This Submission?`}
subtitleText={
selectedRowIds.length === 1
@@ -1175,6 +1178,7 @@ const UniformityTable = () => {
ref={singleRejectModal.ref}
type='error'
iconPosition='left'
closeOnBackdrop={true}
text='Reject This Submission?'
subtitleText='Are you sure you want to reject this submission?'
secondaryButton={{
@@ -1204,6 +1208,7 @@ const UniformityTable = () => {
ref={bulkRejectModal.ref}
type='error'
iconPosition='left'
closeOnBackdrop={true}
text={`Reject This Submission?`}
subtitleText={
selectedRowIds.length === 1