mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
fix: re-enable the connection dialog's Save after an invalid Headers error (#31378)
This commit is contained in:
parent
afeab2e2a7
commit
e924fa7b50
1 changed files with 1 additions and 0 deletions
|
|
@ -219,6 +219,7 @@
|
|||
}
|
||||
headers = JSON.stringify(_headers, null, 2);
|
||||
} catch (error) {
|
||||
loading = false;
|
||||
toast.error($i18n.t('Headers must be a valid JSON object'));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue