Merge pull request #273 from Hexastack/255-issue-settings-removing-default-global-fallback

fix(frontend): removing default plugin issue
This commit is contained in:
Med Marrouchi
2024-10-28 11:30:48 +01:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ const SettingInput: React.FC<RenderSettingInputProps> = ({
label={t("label.fallback_block")}
helperText={t("help.fallback_block")}
multiple={false}
onChange={(_e, selected, ..._) => onChange(selected?.id)}
onChange={(_e, selected, ..._) => onChange(selected?.id || null)}
{...rest}
/>
);