mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 15:43:48 +00:00
[Timelines] #677 Applied fix to prevent editing of timelines in browse mode
Fixed failing test
This commit is contained in:
@ -109,6 +109,8 @@ define(
|
||||
// Track the represented object
|
||||
this.domainObject = representedObject;
|
||||
|
||||
this.scope.isEditable = representedObject.getCapability('status').get('editing');
|
||||
|
||||
// Ensure existing watches are released
|
||||
this.destroy();
|
||||
};
|
||||
|
Reference in New Issue
Block a user