Fix Bug 69803

Save button is not active after editing certificate
This commit is contained in:
Viktor Fomin 2024-08-21 15:34:23 +03:00
parent d288ef8b64
commit e45ff5df90

View File

@ -388,11 +388,11 @@ class SsoFormStore {
this.isSubmitLoading = true;
try {
await submitSsoForm(data);
const res = await submitSsoForm(data);
toastr.success(t("Settings:SuccessfullySaveSettingsMessage"));
this.isSubmitLoading = false;
this.setSpMetadata(true);
this.setDefaultSettings(settings);
this.setDefaultSettings(res);
this.setIsSsoEnabled(settings.enableSso);
} catch (err) {
toastr.error(err);
@ -964,9 +964,6 @@ class SsoFormStore {
}
get isRequiredFieldsEmpty() {
console.log("this.ssoBinding", this.ssoBinding);
console.log("sloBinding", this.sloBinding);
return (
this.entityId.trim().length === 0 ||
(this.ssoBinding === BINDING_POST &&