mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
send direct message
This commit is contained in:
@@ -80,12 +80,12 @@ export class RoomLocalRepository extends DexieRepository<RoomTable> {
|
||||
}
|
||||
|
||||
|
||||
getItemsLive(): Observable<RoomListOutPutDTO[]> {
|
||||
return liveQuery(() => chatDatabase.room.toArray()) as any;
|
||||
getItemsLive(){
|
||||
return liveQuery(() => chatDatabase.room.toArray());
|
||||
}
|
||||
|
||||
getRoomByIdLive(id: any): Observable<RoomListItemOutPutDTO | undefined> {
|
||||
return liveQuery(() => chatDatabase.room.get(id)) as any;
|
||||
getRoomByIdLive(id: any) {
|
||||
return liveQuery(() => chatDatabase.room.get(id));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user