This commit is contained in:
tiago.kayaya
2021-06-03 10:41:25 +01:00
parent 462a68fce4
commit 6ab7e3dc03
15 changed files with 45 additions and 59 deletions
@@ -1,4 +1,4 @@
import { NgModule } from '@angular/core';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
@@ -7,14 +7,17 @@ import { IonicModule } from '@ionic/angular';
import { ChatPopoverPageRoutingModule } from './chat-popover-routing.module';
import { ChatPopoverPage } from './chat-popover.page';
import { ComponentsModule } from 'src/app/components/components.module';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
ComponentsModule,
ChatPopoverPageRoutingModule
],
declarations: []
declarations: [ChatPopoverPage],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class ChatPopoverPageModule {}
@@ -1,6 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { ModalController, NavParams, PopoverController } from '@ionic/angular';
import { EditGroupPage } from 'src/app/pages/chat/edit-group/edit-group.page';
import { ChatService } from 'src/app/services/chat.service';
@Component({
@@ -84,20 +83,6 @@ export class ChatPopoverPage implements OnInit {
async openChangeGroupName(){
this.modalController.dismiss('edit');
/* const modal = await this.modalController.create({
component: EditGroupPage,
componentProps: {
roomId: this.roomId,
},
cssClass: 'contacts',
backdropDismiss: false
});
await modal.present();
modal.onDidDismiss().then((res)=>{
console.log(res.data);
this.modalController.dismiss(res.data);
}); */
}
}
@@ -1,20 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { ChatPopoverPage } from './chat-popover.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
],
exports: [
ChatPopoverPage,
],
entryComponents:[],
declarations: []
})
export class PopoverModule {}
@@ -7,12 +7,14 @@ import { IonicModule } from '@ionic/angular';
import { OptsExpedientePageRoutingModule } from './opts-expediente-routing.module';
import { OptsExpedientePage } from './opts-expediente.page';
import { ComponentsModule } from 'src/app/components/components.module';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
ComponentsModule,
OptsExpedientePageRoutingModule
],
declarations: [OptsExpedientePage]