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

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

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

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

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

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