block buttons

This commit is contained in:
Peter Maquiran
2022-07-27 14:16:26 +01:00
parent 5b1b8e372a
commit fd83c9b031
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
</button> </button>
</div> </div>
</div> </div>
<ion-toolbar> <ion-toolbar [class.block-button]="showNewEvent || showNewGroup">
<ion-segment [(ngModel)]="segment" (ionChange)="onSegmentChange()"> <ion-segment [(ngModel)]="segment" (ionChange)="onSegmentChange()">
<ion-segment-button value="Contactos"> <ion-segment-button value="Contactos">
Conversas Conversas
+5
View File
@@ -182,4 +182,9 @@ ion-content{
.bold-message { .bold-message {
font-weight: bold; font-weight: bold;
}
.block-button {
pointer-events: none;
opacity: 0.2;
} }
-2
View File
@@ -696,8 +696,6 @@ export class ChatPage implements OnInit {
async openGroupMessagesModal(roomId: any) { async openGroupMessagesModal(roomId: any) {
const modal = await this.modalController.create({ const modal = await this.modalController.create({
component: GroupMessagesPage, component: GroupMessagesPage,
cssClass: 'modal modal-desktop isGroupChatOpened', cssClass: 'modal modal-desktop isGroupChatOpened',
@@ -61,7 +61,6 @@ export class NewGroupPage implements OnInit{
} }
_ionChange(event){ _ionChange(event){