Skip to content

Commit

Permalink
Ensure CouchDB changes for plans trigger updates in the view (#7099)
Browse files Browse the repository at this point in the history
Listen to ALL changes for a plan since couchdb feed updates does not trigger a property only event. It triggers a catchall '*' event.

Co-authored-by: Scott Bell <scott@traclabs.com>
  • Loading branch information
shefalijoshi and scottbell committed Oct 2, 2023
1 parent 6947c91 commit ede93d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/plan/components/Plan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default {
this.planViewConfiguration.on('change', this.handleConfigurationChange);
this.stopObservingSelectFile = this.openmct.objects.observe(
this.domainObject,
'selectFile',
'*',
this.handleSelectFileChange
);
this.loadComposition();
Expand Down

0 comments on commit ede93d8

Please sign in to comment.