This commit is contained in:
tiago.kayaya
2020-12-29 14:05:45 +01:00
parent 0b4bef8eca
commit 9120415239
2 changed files with 9 additions and 2 deletions
@@ -15,7 +15,7 @@
</ion-row>
<ion-row class="border-top">
<ion-col>
<button full class="btn-cancel" shape="round" >Cancelar</button>
<button (click)="close()" full class="btn-cancel" shape="round" >Cancelar</button>
</ion-col>
<ion-col>
</ion-col>
@@ -1,4 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { PopoverController } from '@ionic/angular';
@Component({
selector: 'app-chat-options-popover',
@@ -7,9 +8,15 @@ import { Component, OnInit } from '@angular/core';
})
export class ChatOptionsPopoverPage implements OnInit {
constructor() { }
constructor(
private popoverController: PopoverController
) { }
ngOnInit() {
}
close(){
this.popoverController.dismiss();
}
}