update
This commit is contained in:
@ -241,12 +241,14 @@ const TransactionProvider = ({ children }: { children: React.ReactNode }) => {
|
|||||||
>
|
>
|
||||||
<KeenIcon icon="eye" />
|
<KeenIcon icon="eye" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-icon btn-clear btn-light"
|
className="btn btn-sm btn-icon btn-clear btn-light"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setSelectedTransactionId(row.id);
|
setSelectedTransactionId(row.id);
|
||||||
setShowRollbackDialog(true);
|
setShowRollbackDialog(true);
|
||||||
}}
|
}}
|
||||||
|
disabled={row.status !== 'C'}
|
||||||
>
|
>
|
||||||
<KeenIcon icon="notepad-edit" />
|
<KeenIcon icon="notepad-edit" />
|
||||||
</button>
|
</button>
|
||||||
@ -375,7 +377,7 @@ const TransactionProvider = ({ children }: { children: React.ReactNode }) => {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<DetailTransaction />
|
<DetailTransaction />
|
||||||
<RollbackTransaction/>
|
<RollbackTransaction />
|
||||||
<ResendTransaction
|
<ResendTransaction
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onClose={() => console.log('Retry Transaction closed')}
|
onClose={() => console.log('Retry Transaction closed')}
|
||||||
|
|||||||
Reference in New Issue
Block a user