Merge pull request #4268 from GabrielInTheWorld/4262
Fixes the initial loading of motions and their states
This commit is contained in:
commit
5ace768427
@ -405,6 +405,7 @@ export class ViewMotion extends BaseProjectableModel {
|
||||
public updateWorkflow(workflow: Workflow): void {
|
||||
if (this.motion && workflow.id === this.motion.workflow_id) {
|
||||
this._workflow = workflow;
|
||||
this._state = workflow.getStateById(this.state_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user