chat retry

This commit is contained in:
Peter Maquiran
2022-12-26 15:41:11 +01:00
parent b83fff6fbd
commit 0a3fd0ec8b
79 changed files with 223 additions and 1025 deletions
+10 -5
View File
@@ -2,6 +2,11 @@ import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthGuard } from '../guards/auth.guard';
import { InactivityGuard } from '../guards/inactivity.guard';
import { AgendaPageModule } from '../pages/agenda/agenda.module';
import { ChatPageModule } from '../pages/chat/chat.module';
import { EventsPageModule } from '../pages/events/events.module';
import { GabineteDigitalPageModule } from '../pages/gabinete-digital/gabinete-digital.module';
import { PublicationsPageModule } from '../pages/publications/publications.module';
import { UserDataResolver } from '../resolvers/userData.resolver';
import { HomePage } from './home.page';
@@ -18,7 +23,7 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/events/events.module').then(m => m.EventsPageModule)
loadChildren: ()=> EventsPageModule
},
{
path:':eventId/:caller',
@@ -80,7 +85,7 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/agenda/agenda.module').then(m => m.AgendaPageModule)
loadChildren: () => AgendaPageModule
},
{
path:':eventId/:caller',
@@ -128,7 +133,7 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/gabinete-digital/gabinete-digital.module').then(m => m.GabineteDigitalPageModule)
loadChildren: ()=> GabineteDigitalPageModule
},
{
path:'expediente',
@@ -290,7 +295,7 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/publications/publications.module').then(m => m.PublicationsPageModule)
loadChildren: ()=> PublicationsPageModule
},
{
path:':folderId',
@@ -321,7 +326,7 @@ const routes: Routes = [
children: [
{
path:'',
loadChildren: ()=> import('../pages/chat/chat.module').then(m => m.ChatPageModule)
loadChildren: ()=> ChatPageModule
},
{
path:'messages',
+1 -3
View File
@@ -1,5 +1,3 @@
/* eslint-disable */
/* tslint:disable */
import { Component, OnInit } from '@angular/core';
import { Event } from '../models/event.model';
import { NotificationsService } from '../services/notifications.service';
@@ -97,7 +95,7 @@ export class HomePage implements OnInit {
this.router.events.subscribe((val) => {
document.querySelectorAll('ion-modal').forEach((e: any) => e.remove())
document.querySelectorAll('popover-viewport').forEach((e: any) => e.remove())
document.querySelectorAll('.notification').forEach((e: any) => e.remove())
document.querySelectorAll('.loading-blocker').forEach((e: any) => e.remove())
});
window['platform'] = platform