diff --git a/comps/form/field/type/TypeDropdown.tsx b/comps/form/field/type/TypeDropdown.tsx index 75e7c2f..2248ff3 100755 --- a/comps/form/field/type/TypeDropdown.tsx +++ b/comps/form/field/type/TypeDropdown.tsx @@ -119,6 +119,12 @@ export const TypeDropdown: FC<{ reload(); }, []); + useEffect(() => { + if (fm.save_status === 'saved') { + reload(); + } + }, [fm.save_status]); + let value = typeof arg.opt_get_value === "function" ? arg.opt_get_value({ diff --git a/comps/ui/toast.tsx b/comps/ui/toast.tsx index 01bbb56..5d61fd7 100755 --- a/comps/ui/toast.tsx +++ b/comps/ui/toast.tsx @@ -12,7 +12,6 @@ export const toast = { toasting: [] as any[], dismiss: () => { if (!timer.timeout) { - console.log(toast.toasting); if (toast.toasting.length > 0) { for (const t of toast.toasting) { sonner.dismiss(t.id);