Skip to content

Commit

Permalink
fixed error with update view
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoemp committed Feb 12, 2020
1 parent d3c5c88 commit ff0fa73
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ export class TranscrOverviewComponent implements OnInit, OnDestroy, AfterViewIni
}

ngOnInit() {
this.updateView();

this.subscrmanager.add(this.audio.audiomanagers[0].statechange.subscribe((state) => {
if (this._visible) {
// make sure that events from playonhover are not logged
Expand Down Expand Up @@ -285,10 +283,10 @@ export class TranscrOverviewComponent implements OnInit, OnDestroy, AfterViewIni
}

ngAfterViewInit() {
this.updateView();
}

updateView() {
console.log(`update View!`);
this.updateSegments();
this.transcrService.analyse();

Expand Down

0 comments on commit ff0fa73

Please sign in to comment.