diff --git a/src/views/products/Detail/ContractRemarksModal.jsx b/src/views/products/Detail/ContractRemarksModal.jsx index a9037cc..65178ab 100644 --- a/src/views/products/Detail/ContractRemarksModal.jsx +++ b/src/views/products/Detail/ContractRemarksModal.jsx @@ -41,9 +41,15 @@ export const ContractRemarksModal = () => { getRemarkList() .then(list => { remarksForm.setFieldsValue({remarkList:list}) + setRemarksModalOpen(true) + }) + .catch(ex => { + notification.error({ + message: 'Notification', + description: ex.message, + placement: 'top', + }) }) - - setRemarksModalOpen(true) } const getFieldLabel = (field) => {