fix thread loading issue

This commit is contained in:
Nicolas Constant 2019-02-25 00:19:07 -05:00
parent 3d5b461d59
commit 6e1cb62fb1
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export class ThreadComponent implements OnInit {
set currentThread(thread: OpenThreadEvent) { set currentThread(thread: OpenThreadEvent) {
if (thread) { if (thread) {
this.lastThreadEvent = thread; this.lastThreadEvent = thread;
// this.getThread(thread); this.getThread(thread);
} }
} }
@ -39,7 +39,6 @@ export class ThreadComponent implements OnInit {
private readonly mastodonService: MastodonService) { } private readonly mastodonService: MastodonService) { }
ngOnInit() { ngOnInit() {
this.getThread(this.lastThreadEvent);
} }
private getThread(openThreadEvent: OpenThreadEvent) { private getThread(openThreadEvent: OpenThreadEvent) {