removed save from interceptors and kept missing object intercepter as is

This commit is contained in:
Jamie V 2025-03-06 14:28:13 -08:00
parent 5ee9b66831
commit 0deb2bfbf5
5 changed files with 1 additions and 9 deletions

View File

@ -32,8 +32,6 @@ export default function conditionWidgetStylesInterceptor(openmct) {
domainObject.configuration.objectStyles = {};
openmct.objects.save(domainObject);
return domainObject;
}
};

View File

@ -39,6 +39,6 @@ export default function MissingObjectInterceptor(openmct) {
return object;
},
priority: openmct.priority.HIGH + 1 // this should be the first interceptor to run
priority: openmct.priority.HIGH
});
}

View File

@ -35,8 +35,6 @@ export default function overlayPlotStylesInterceptor(openmct) {
domainObject.configuration.objectStyles = {};
openmct.objects.save(domainObject);
return domainObject;
}
};

View File

@ -41,8 +41,6 @@ export default function stackedPlotConfigurationInterceptor(openmct) {
domainObject.configuration.objectStyles = {};
}
openmct.objects.save(domainObject);
return domainObject;
}
});

View File

@ -32,8 +32,6 @@ export default function telemetryTableStylesInterceptor(openmct) {
invoke: (identifier, domainObject) => {
domainObject.configuration.objectStyles = {};
openmct.objects.save(domainObject);
return domainObject;
}
};