Skip to content

Commit

Permalink
Fix config data validation
Browse files Browse the repository at this point in the history
  • Loading branch information
rgallettonf committed Aug 12, 2024
1 parent d6476ea commit 244df9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ export class ConfigEditorComponent implements OnInit {
jsonDataChanged(event) {
defer(() => {
this.configDataChange.emit(this.configData);
this.updateFormView(this.items, this.configData);
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,11 @@ export class ConfigurationFormComponent extends ProjectableForm implements OnIni
this.isLoading = false;
});
if (configId) {
this.closeModal(true, true);
if (this.isModal) {
this.closeModal(true, true);
} else {
this.returnToListPage();
}
};
}

Expand Down

0 comments on commit 244df9a

Please sign in to comment.