mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Refactor conditional text formatting in modal component
This commit is contained in:
@@ -1063,7 +1063,11 @@ const TransferToLayingFormModal = () => {
|
||||
<TransferToLayingConfirmationModal
|
||||
ref={successModal.ref}
|
||||
type='success'
|
||||
text={submittedActionType === 'edit' ? 'Data Berhasil Diperbarui' : 'Data Berhasil Ditambahkan'}
|
||||
text={
|
||||
submittedActionType === 'edit'
|
||||
? 'Data Berhasil Diperbarui'
|
||||
: 'Data Berhasil Ditambahkan'
|
||||
}
|
||||
subtitleText={
|
||||
submittedActionType === 'edit'
|
||||
? 'Data transfer to laying telah berhasil diperbarui.'
|
||||
|
||||
Reference in New Issue
Block a user