ssb: We don't have to wait for channel status to finish load.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
parent
98275f7c87
commit
1974ed1c03
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&yapJ13Gt1EBAoNfcjqen0o7c4wSjjRSQSxZFFtPDHps=.sha256"
|
"previous": "&VAZXXBIeJH6zCSc6o4Za+RetRRZe41VKow+fBrYAIkc=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -379,7 +379,7 @@ class TfElement extends LitElement {
|
|||||||
};
|
};
|
||||||
by_count.push({count: v.of, id: id});
|
by_count.push({count: v.of, id: id});
|
||||||
}
|
}
|
||||||
let channels_latest = this.load_channels_latest(Object.keys(following));
|
this.load_channels_latest(Object.keys(following));
|
||||||
this.channels_unread = JSON.parse(
|
this.channels_unread = JSON.parse(
|
||||||
(await tfrpc.rpc.databaseGet('unread')) ?? '{}'
|
(await tfrpc.rpc.databaseGet('unread')) ?? '{}'
|
||||||
);
|
);
|
||||||
@ -393,7 +393,6 @@ class TfElement extends LitElement {
|
|||||||
'users'
|
'users'
|
||||||
);
|
);
|
||||||
start_time = new Date();
|
start_time = new Date();
|
||||||
await channels_latest;
|
|
||||||
this.following = Object.keys(following);
|
this.following = Object.keys(following);
|
||||||
this.users = users;
|
this.users = users;
|
||||||
console.log(`load finished ${whoami} => ${this.whoami}`);
|
console.log(`load finished ${whoami} => ${this.whoami}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user