saving the object if it was missing (#4471)

This commit is contained in:
Jamie V 2021-11-16 17:34:11 -08:00 committed by GitHub
parent c8723da098
commit 25b3431131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,8 @@ function myItemsInterceptor(identifierObject, openmct) {
},
invoke: (identifier, object) => {
if (openmct.objects.isMissing(object)) {
openmct.objects.save(myItemsModel);
return myItemsModel;
}