diff --git a/src/plugins/conditionWidget/conditionWidgetStylesInterceptor.js b/src/plugins/conditionWidget/conditionWidgetStylesInterceptor.js index 0fa69bffb8..e7d3417164 100644 --- a/src/plugins/conditionWidget/conditionWidgetStylesInterceptor.js +++ b/src/plugins/conditionWidget/conditionWidgetStylesInterceptor.js @@ -32,8 +32,6 @@ export default function conditionWidgetStylesInterceptor(openmct) { domainObject.configuration.objectStyles = {}; - openmct.objects.save(domainObject); - return domainObject; } }; diff --git a/src/plugins/interceptors/missingObjectInterceptor.js b/src/plugins/interceptors/missingObjectInterceptor.js index 7620a6d8c3..9240302698 100644 --- a/src/plugins/interceptors/missingObjectInterceptor.js +++ b/src/plugins/interceptors/missingObjectInterceptor.js @@ -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 }); } diff --git a/src/plugins/plot/overlayPlot/overlayPlotStylesInterceptor.js b/src/plugins/plot/overlayPlot/overlayPlotStylesInterceptor.js index 0cf0a1961f..0210050d18 100644 --- a/src/plugins/plot/overlayPlot/overlayPlotStylesInterceptor.js +++ b/src/plugins/plot/overlayPlot/overlayPlotStylesInterceptor.js @@ -35,8 +35,6 @@ export default function overlayPlotStylesInterceptor(openmct) { domainObject.configuration.objectStyles = {}; - openmct.objects.save(domainObject); - return domainObject; } }; diff --git a/src/plugins/plot/stackedPlot/stackedPlotConfigurationInterceptor.js b/src/plugins/plot/stackedPlot/stackedPlotConfigurationInterceptor.js index da3ca656d0..16fd91e291 100644 --- a/src/plugins/plot/stackedPlot/stackedPlotConfigurationInterceptor.js +++ b/src/plugins/plot/stackedPlot/stackedPlotConfigurationInterceptor.js @@ -41,8 +41,6 @@ export default function stackedPlotConfigurationInterceptor(openmct) { domainObject.configuration.objectStyles = {}; } - openmct.objects.save(domainObject); - return domainObject; } }); diff --git a/src/plugins/telemetryTable/telemetryTableStylesInterceptor.js b/src/plugins/telemetryTable/telemetryTableStylesInterceptor.js index 64a3cee910..23fb0ddcea 100644 --- a/src/plugins/telemetryTable/telemetryTableStylesInterceptor.js +++ b/src/plugins/telemetryTable/telemetryTableStylesInterceptor.js @@ -32,8 +32,6 @@ export default function telemetryTableStylesInterceptor(openmct) { invoke: (identifier, domainObject) => { domainObject.configuration.objectStyles = {}; - openmct.objects.save(domainObject); - return domainObject; } };