mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #554 from omarNaifer12/issue-553-fallback-block-can-be-empty
fix(frontend): allow fallback block to be empty
This commit is contained in:
@@ -121,7 +121,7 @@ const SettingInput: React.FC<RenderSettingInputProps> = ({
|
||||
label={t("label.fallback_block")}
|
||||
helperText={t("help.fallback_block")}
|
||||
multiple={false}
|
||||
onChange={(_e, selected, ..._) => onChange(selected?.id || null)}
|
||||
onChange={(_e, selected, ..._) => onChange(selected?.id || "")}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user