mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 20:15:25 +00:00
remove form element if not dialog
This commit is contained in:
parent
5f70ab7dd3
commit
052ec19892
@ -172,7 +172,9 @@ export default class FormsAPI {
|
||||
|
||||
function onFormSave(save) {
|
||||
return () => {
|
||||
if (overlay) {
|
||||
if (element) {
|
||||
formElement.remove();
|
||||
} else {
|
||||
overlay.dismiss();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user