mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-08-21 03:22:40 +00:00
fix: various fixes around discover
This commit is contained in:
parent
ca3dba04e0
commit
78d30020c3
6 changed files with 21 additions and 18 deletions
|
@ -75,7 +75,6 @@ export function useChat(
|
|||
|
||||
sections.push(currentSection);
|
||||
|
||||
console.log(sections);
|
||||
return sections;
|
||||
});
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ export class ChatListManager {
|
|||
existing.lastMessage = newChat.lastMessage ?? existing.lastMessage;
|
||||
} else {
|
||||
chatList.push(newChat);
|
||||
console.log('new chat added to list', newChat);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -25,12 +25,9 @@ export class GlobalSearchManager {
|
|||
}
|
||||
|
||||
const results = await Promise.allSettled(jobs);
|
||||
console.log(results);
|
||||
|
||||
const chats: { joined: Chat[]; public: Chat[] } = { joined: [], public: [] };
|
||||
for (const result of results) {
|
||||
console.log(result);
|
||||
|
||||
if (result.status === 'rejected') continue;
|
||||
|
||||
const [type, chatList] = result.value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue