mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 20:15:25 +00:00
safety check for overlay
This commit is contained in:
parent
ea7cf080c3
commit
7f73e1e765
@ -172,7 +172,9 @@ export default class FormsAPI {
|
||||
|
||||
function onFormSave(save) {
|
||||
return () => {
|
||||
overlay.dismiss();
|
||||
if (overlay) {
|
||||
overlay.dismiss();
|
||||
}
|
||||
|
||||
if (save) {
|
||||
save(changes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user