mirror of
https://github.com/hexastack/hexabot
synced 2024-11-23 01:55:15 +00:00
fix(frontend): removing default plugin issue v0.0.1
This commit is contained in:
parent
606b6bcac1
commit
78cd5e334e
@ -135,7 +135,7 @@ const SettingInput: React.FC<RenderSettingInputProps> = ({
|
||||
label={t("label.default_nlu_helper")}
|
||||
helperText={t("help.default_nlu_helper")}
|
||||
multiple={false}
|
||||
onChange={(_e, selected, ..._) => onChange(selected?.name || null)}
|
||||
onChange={(_e, selected, ..._) => onChange(selected?.name)}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
@ -152,7 +152,7 @@ const SettingInput: React.FC<RenderSettingInputProps> = ({
|
||||
label={t("label.default_llm_helper")}
|
||||
helperText={t("help.default_llm_helper")}
|
||||
multiple={false}
|
||||
onChange={(_e, selected, ..._) => onChange(selected?.name || null)}
|
||||
onChange={(_e, selected, ..._) => onChange(selected?.name)}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user