fix thread loading issue
This commit is contained in:
parent
3d5b461d59
commit
6e1cb62fb1
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue