Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Telemetry Tables] Don't mutate configuration if object is not able to be persisted #7626

Merged
merged 10 commits into from
Apr 4, 2024
Prev Previous commit
Next Next commit
do not persist if obj is not persistable
  • Loading branch information
jvigliotta committed Mar 19, 2024
commit c762583fd6260a132cba77657cc1357e1ce59e7f
6 changes: 5 additions & 1 deletion src/plugins/telemetryTable/components/TableComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,11 @@ export default {
const telemetryModeChanged = this.existingConfiguration.telemetryMode !== telemetryMode;
let rowLimitChanged = false;

this.persistModeChange = persistModeChange;
if (!this.openmct.objects.isPersistable(this.domainObject)) {
this.persistModeChange = false;
} else {
this.persistModeChange = persistModeChange;
}

// both rowLimit changes and telemetryMode changes
// require a re-request of telemetry
Expand Down