mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE): Add submittedActionType state to track modal action type
This commit is contained in:
@@ -680,6 +680,7 @@ const TransferToLayingsTable = () => {
|
||||
subtitleText='Are you sure you want to delete this data? '
|
||||
transferToLayingIds={selectedRowIds}
|
||||
primaryButton={{
|
||||
text: 'Delete',
|
||||
isLoading: isDeleteLoading,
|
||||
color: 'error',
|
||||
onClick: confirmationModalDeleteClickHandler,
|
||||
@@ -704,6 +705,7 @@ const TransferToLayingsTable = () => {
|
||||
withNote
|
||||
noteLabel='Notes Approval'
|
||||
primaryButton={{
|
||||
text: 'Approve',
|
||||
isLoading: isApproveLoading,
|
||||
onClick: confirmationModalApproveClickHandler,
|
||||
}}
|
||||
@@ -735,6 +737,7 @@ const TransferToLayingsTable = () => {
|
||||
},
|
||||
}}
|
||||
primaryButton={{
|
||||
text: 'Reject',
|
||||
isLoading: isRejectLoading,
|
||||
color: 'error',
|
||||
onClick: confirmationModalRejectClickHandler,
|
||||
|
||||
Reference in New Issue
Block a user