mirror of
https://github.com/nasa/openmct.git
synced 2025-03-21 19:45:23 +00:00
removed save from interceptors and kept missing object intercepter as is
This commit is contained in:
parent
5ee9b66831
commit
0deb2bfbf5
src/plugins
conditionWidget
interceptors
plot
telemetryTable
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user