Minor bug fixes. BOD-223 BOD-226
This commit is contained in:
@@ -68,6 +68,7 @@ export function NoteUpsertModalContainer({
|
||||
},
|
||||
}).then((r) => {
|
||||
if (refetch) refetch();
|
||||
form.resetFields();
|
||||
toggleModalVisible();
|
||||
notification["success"]({
|
||||
message: t("notes.successes.create"),
|
||||
@@ -87,7 +88,8 @@ export function NoteUpsertModalContainer({
|
||||
onCancel={() => {
|
||||
toggleModalVisible();
|
||||
}}
|
||||
destroyOnClose>
|
||||
destroyOnClose
|
||||
>
|
||||
<Form form={form} onFinish={handleFinish} initialValues={existingNote}>
|
||||
<NoteUpsertModalComponent />
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user