mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
changes made
This commit is contained in:
@@ -104,6 +104,7 @@ export class LoginPage implements OnInit {
|
|||||||
|
|
||||||
// login to API successfully
|
// login to API successfully
|
||||||
if (attempt) {
|
if (attempt) {
|
||||||
|
console.log(attempt)
|
||||||
|
|
||||||
if (attempt.UserId == SessionStore.user.UserId) {
|
if (attempt.UserId == SessionStore.user.UserId) {
|
||||||
|
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ export class WsChatMethodsService {
|
|||||||
async getAllRooms () {
|
async getAllRooms () {
|
||||||
this.loadingWholeList = true
|
this.loadingWholeList = true
|
||||||
const rooms = await this.WsChatService.getRooms();
|
const rooms = await this.WsChatService.getRooms();
|
||||||
console.log('get all rooms', rooms)
|
console.log('get all rooms', this.loggedUser)
|
||||||
await this.storage.remove('Rooms');
|
await this.storage.remove('Rooms');
|
||||||
|
|
||||||
await rooms.result.update.forEach( async (roomData: room, index) => {
|
await rooms.result.update.forEach( async (roomData: room, index) => {
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export class WsChatService {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const requestId = SessionStore.user.ChatData.data.userId
|
const requestId = uuidv4()
|
||||||
console.log('Login true', SessionStore.user)
|
console.log('Login true', SessionStore.user)
|
||||||
const message = {
|
const message = {
|
||||||
msg: "method",
|
msg: "method",
|
||||||
|
|||||||
Reference in New Issue
Block a user