Ensure CouchDB changes for plans trigger updates in the view (#7099)

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>
This commit is contained in:
Shefali Joshi 2023-10-02 16:26:13 -07:00 committed by GitHub
parent 6947c912a7
commit ede93d881c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ export default {
this.planViewConfiguration.on('change', this.handleConfigurationChange); this.planViewConfiguration.on('change', this.handleConfigurationChange);
this.stopObservingSelectFile = this.openmct.objects.observe( this.stopObservingSelectFile = this.openmct.objects.observe(
this.domainObject, this.domainObject,
'selectFile', '*',
this.handleSelectFileChange this.handleSelectFileChange
); );
this.loadComposition(); this.loadComposition();