mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix room name and add interface
This commit is contained in:
@@ -4,6 +4,7 @@ import { WsChatService } from 'src/app/services/chat/ws-chat.service';
|
||||
import { MessageService } from 'src/app/services/chat/message.service'
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
import { capitalizeTxt } from 'src/plugin/text'
|
||||
import { Rooms, Update } from 'src/app/models/chatMethod';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
@@ -35,10 +36,10 @@ export class WsChatMethodsService {
|
||||
this.loadingWholeList = true
|
||||
|
||||
const rooms: any = await this.WsChatService.getRooms();
|
||||
|
||||
console.log("ROOMS" + JSON.stringify(rooms))
|
||||
|
||||
console.log("ROOMS" + rooms)
|
||||
|
||||
rooms.result.update.forEach((roomData:any) => {
|
||||
rooms.result.update.forEach((roomData:Update) => {
|
||||
let room:RoomService;
|
||||
|
||||
console.log(roomData);
|
||||
|
||||
Reference in New Issue
Block a user