mirror of
https://github.com/hexastack/hexabot
synced 2025-02-22 20:38:32 +00:00
fix(frontend): contextVar permanent defaultValue
This commit is contained in:
parent
105fe8239e
commit
d95147c25a
@ -69,7 +69,7 @@ export const ContextVarDialog: FC<ContextVarDialogProps> = ({
|
|||||||
defaultValues: {
|
defaultValues: {
|
||||||
name: data?.name || "",
|
name: data?.name || "",
|
||||||
label: data?.label || "",
|
label: data?.label || "",
|
||||||
permanent: data?.permanent,
|
permanent: data?.permanent || false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const validationRules = {
|
const validationRules = {
|
||||||
|
Loading…
Reference in New Issue
Block a user