diff --git a/src/app/pages/publications/publications.page.ts b/src/app/pages/publications/publications.page.ts index 61fee0fc9..1cc20f8e8 100644 --- a/src/app/pages/publications/publications.page.ts +++ b/src/app/pages/publications/publications.page.ts @@ -103,7 +103,7 @@ export class PublicationsPage implements OnInit { hideRefreshButton() { window.onresize = (event) => { - if (window.innerWidth < 801) { + if (window.innerWidth < 701) { this.hideRefreshBtn = false; this.showSlidingOptions = false; } @@ -112,7 +112,7 @@ export class PublicationsPage implements OnInit { this.showSlidingOptions = true; } } - if (window.innerWidth < 801) { + if (window.innerWidth < 701) { this.hideRefreshBtn = false; this.showSlidingOptions = false; } @@ -375,7 +375,7 @@ export class PublicationsPage implements OnInit { this.closeDesktopComponent(); // OpenModal - if (window.innerWidth <= 800) { + if (window.innerWidth < 701) { /* let item = this.publicationFolderList; */ const modal = await this.modalController.create({ component: ViewPublicationsPage, diff --git a/src/app/shared/chat/group-messages/group-messages.page.ts b/src/app/shared/chat/group-messages/group-messages.page.ts index 9424e13f3..202d75d2b 100644 --- a/src/app/shared/chat/group-messages/group-messages.page.ts +++ b/src/app/shared/chat/group-messages/group-messages.page.ts @@ -591,7 +591,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe const formData = new FormData(); formData.append("blobFile", blob); - this.wsChatMethodsService.getDmRoom(roomId).send({ + this.wsChatMethodsService.getGroupRoom(roomId).send({ file: { "type": "application/img", "guid": '' @@ -674,7 +674,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe const formData = new FormData(); formData.append("blobFile", file); - this.wsChatMethodsService.getDmRoom(roomId).send({ + this.wsChatMethodsService.getGroupRoom(roomId).send({ file: { "type": "application/img", "guid": ''