mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 15:02:23 +00:00
saving the object if it was missing (#4471)
This commit is contained in:
parent
c8723da098
commit
25b3431131
@ -38,6 +38,8 @@ function myItemsInterceptor(identifierObject, openmct) {
|
||||
},
|
||||
invoke: (identifier, object) => {
|
||||
if (openmct.objects.isMissing(object)) {
|
||||
openmct.objects.save(myItemsModel);
|
||||
|
||||
return myItemsModel;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user