fix: re-enable the connection dialog's Save after an invalid Headers error (#31378)

This commit is contained in:
G30 2026-09-30 12:01:21 -04:00 • committed by GitHub
parent afeab2e2a7
commit e924fa7b50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}