Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
fix(soba): run ready outside of Zone
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Nov 25, 2021
1 parent 31354e1 commit 04faf45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/soba/abstractions/src/lib/line/line.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ export class NgtSobaLineController extends Controller {
this.ngZone.runOutsideAngular(() => {
this.line = line;
this.line.computeLineDistances();
this.ngZone.run(() => {
this.ready.emit(line);
});
this.ready.emit(line);
});
}

Expand Down

0 comments on commit 04faf45

Please sign in to comment.