mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
refactor(FE): Enable closing modals on backdrop click
This commit is contained in:
@@ -1058,7 +1058,7 @@ const UniformityTable = () => {
|
|||||||
iconPosition='left'
|
iconPosition='left'
|
||||||
text='Data Berhasil Ditambahkan'
|
text='Data Berhasil Ditambahkan'
|
||||||
subtitleText='Data uniformity telah berhasil disimpan.'
|
subtitleText='Data uniformity telah berhasil disimpan.'
|
||||||
closeOnBackdrop={false}
|
closeOnBackdrop={true}
|
||||||
primaryButton={{
|
primaryButton={{
|
||||||
text: 'Ok',
|
text: 'Ok',
|
||||||
color: 'primary',
|
color: 'primary',
|
||||||
@@ -1089,6 +1089,7 @@ const UniformityTable = () => {
|
|||||||
ref={singleDeleteModal.ref}
|
ref={singleDeleteModal.ref}
|
||||||
type='error'
|
type='error'
|
||||||
iconPosition='left'
|
iconPosition='left'
|
||||||
|
closeOnBackdrop={true}
|
||||||
text={`Delete This Data?`}
|
text={`Delete This Data?`}
|
||||||
subtitleText='Are you sure you want to delete this data?'
|
subtitleText='Are you sure you want to delete this data?'
|
||||||
secondaryButton={{
|
secondaryButton={{
|
||||||
@@ -1113,6 +1114,7 @@ const UniformityTable = () => {
|
|||||||
ref={singleApproveModal.ref}
|
ref={singleApproveModal.ref}
|
||||||
type='success'
|
type='success'
|
||||||
iconPosition='left'
|
iconPosition='left'
|
||||||
|
closeOnBackdrop={true}
|
||||||
text='Approve This Submission?'
|
text='Approve This Submission?'
|
||||||
subtitleText='Are you sure you want to approve this submission?'
|
subtitleText='Are you sure you want to approve this submission?'
|
||||||
secondaryButton={{
|
secondaryButton={{
|
||||||
@@ -1142,6 +1144,7 @@ const UniformityTable = () => {
|
|||||||
ref={bulkApproveModal.ref}
|
ref={bulkApproveModal.ref}
|
||||||
type='success'
|
type='success'
|
||||||
iconPosition='left'
|
iconPosition='left'
|
||||||
|
closeOnBackdrop={true}
|
||||||
text={`Approve This Submission?`}
|
text={`Approve This Submission?`}
|
||||||
subtitleText={
|
subtitleText={
|
||||||
selectedRowIds.length === 1
|
selectedRowIds.length === 1
|
||||||
@@ -1175,6 +1178,7 @@ const UniformityTable = () => {
|
|||||||
ref={singleRejectModal.ref}
|
ref={singleRejectModal.ref}
|
||||||
type='error'
|
type='error'
|
||||||
iconPosition='left'
|
iconPosition='left'
|
||||||
|
closeOnBackdrop={true}
|
||||||
text='Reject This Submission?'
|
text='Reject This Submission?'
|
||||||
subtitleText='Are you sure you want to reject this submission?'
|
subtitleText='Are you sure you want to reject this submission?'
|
||||||
secondaryButton={{
|
secondaryButton={{
|
||||||
@@ -1204,6 +1208,7 @@ const UniformityTable = () => {
|
|||||||
ref={bulkRejectModal.ref}
|
ref={bulkRejectModal.ref}
|
||||||
type='error'
|
type='error'
|
||||||
iconPosition='left'
|
iconPosition='left'
|
||||||
|
closeOnBackdrop={true}
|
||||||
text={`Reject This Submission?`}
|
text={`Reject This Submission?`}
|
||||||
subtitleText={
|
subtitleText={
|
||||||
selectedRowIds.length === 1
|
selectedRowIds.length === 1
|
||||||
|
|||||||
Reference in New Issue
Block a user