mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 08:03:49 +00:00
[Views] Update representations on mutation (#1312)
* [Core] Log errors from topic Log full error (including stack trace) when catching errors from the topic service. Aids debugging of #1303 (and should aid in future debugging of any similar issues.) * [API] Fix identifier usage in handleMutation To address console errors observed in the context of #1303 * [Views] Listen to mutation Listen for mutation instead of watching modified timestamp; more reliable due to recent API changes. Fixes #1303. * [Views] Update spec for mct-representation ...to reflect changes for #1303
This commit is contained in:
committed by
Pete Richards
parent
547696d797
commit
9578fb0cd8
@ -62,7 +62,7 @@ define([
|
||||
|
||||
//Don't trigger self
|
||||
objectEventEmitter.off('mutation', handleMutation);
|
||||
objectEventEmitter.emit(newStyleObject.key.identifier + ":*", newStyleObject);
|
||||
objectEventEmitter.emit(newStyleObject.identifier.key + ":*", newStyleObject);
|
||||
objectEventEmitter.on('mutation', handleMutation);
|
||||
}.bind(this);
|
||||
|
||||
|
Reference in New Issue
Block a user