fix: show backend warning hint after submitting in editing mode
This commit is contained in:
@@ -256,7 +256,7 @@ const AddModal: React.FC<AddModalProps> = (props) => {
|
|||||||
}}
|
}}
|
||||||
footer={
|
footer={
|
||||||
<>
|
<>
|
||||||
{action === PageAction.CREATE && (
|
{action === PageAction.CREATE && open && (
|
||||||
<div style={{ marginInline: 24, paddingTop: 8 }} ref={alertRef}>
|
<div style={{ marginInline: 24, paddingTop: 8 }} ref={alertRef}>
|
||||||
<AlertBlockInfo
|
<AlertBlockInfo
|
||||||
type="warning"
|
type="warning"
|
||||||
|
|||||||
Reference in New Issue
Block a user