Merge branch 'developer' of bitbucket.org:equilibriumito/gabinete-digital into developer

This commit is contained in:
Peter Maquiran
2022-02-09 15:16:18 +01:00
3 changed files with 17 additions and 17 deletions
@@ -199,7 +199,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
changeInput() { changeInput() {
this.wsChatMethodsService.getDmRoom(this.roomId).typing() this.wsChatMethodsService.getGroupRoom(this.roomId).typing()
} }
async goToEvent(eventId: any) { async goToEvent(eventId: any) {
@@ -451,7 +451,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
const formData = new FormData(); const formData = new FormData();
formData.append("blobFile", blob); formData.append("blobFile", blob);
this.wsChatMethodsService.getDmRoom(roomId).send({ this.wsChatMethodsService.getGroupRoom(roomId).send({
file: { file: {
"type": "application/img", "type": "application/img",
"guid": '' "guid": ''
@@ -492,7 +492,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
if(data.selected) { if(data.selected) {
const loader = this.toastService.loading(); const loader = this.toastService.loading();
this.wsChatMethodsService.getDmRoom(this.roomId).send({ this.wsChatMethodsService.getGroupRoom(this.roomId).send({
file:{ file:{
"name": res.data.selected.Assunto, "name": res.data.selected.Assunto,
"type": "application/webtrix", "type": "application/webtrix",
@@ -529,7 +529,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
const formData = new FormData(); const formData = new FormData();
formData.append("blobFile", file); formData.append("blobFile", file);
this.wsChatMethodsService.getDmRoom(this.roomId).send({ this.wsChatMethodsService.getGroupRoom(this.roomId).send({
file: { file: {
"type": "application/img", "type": "application/img",
"guid": '' "guid": ''
@@ -103,7 +103,7 @@ export class PublicationsPage implements OnInit {
hideRefreshButton() { hideRefreshButton() {
window.onresize = (event) => { window.onresize = (event) => {
if (window.innerWidth < 801) { if (window.innerWidth < 701) {
this.hideRefreshBtn = false; this.hideRefreshBtn = false;
this.showSlidingOptions = false; this.showSlidingOptions = false;
} }
@@ -112,7 +112,7 @@ export class PublicationsPage implements OnInit {
this.showSlidingOptions = true; this.showSlidingOptions = true;
} }
} }
if (window.innerWidth < 801) { if (window.innerWidth < 701) {
this.hideRefreshBtn = false; this.hideRefreshBtn = false;
this.showSlidingOptions = false; this.showSlidingOptions = false;
} }
@@ -375,7 +375,7 @@ export class PublicationsPage implements OnInit {
this.closeDesktopComponent(); this.closeDesktopComponent();
// OpenModal // OpenModal
if (window.innerWidth <= 800) { if (window.innerWidth < 701) {
/* let item = this.publicationFolderList; */ /* let item = this.publicationFolderList; */
const modal = await this.modalController.create({ const modal = await this.modalController.create({
component: ViewPublicationsPage, component: ViewPublicationsPage,
@@ -555,7 +555,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
const formData = new FormData(); const formData = new FormData();
formData.append("blobFile", blob); formData.append("blobFile", blob);
this.wsChatMethodsService.getDmRoom(roomId).send({ this.wsChatMethodsService.getGroupRoom(roomId).send({
file: { file: {
"type": "application/img", "type": "application/img",
"guid": '' "guid": ''
@@ -638,7 +638,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
const formData = new FormData(); const formData = new FormData();
formData.append("blobFile", file); formData.append("blobFile", file);
this.wsChatMethodsService.getDmRoom(roomId).send({ this.wsChatMethodsService.getGroupRoom(roomId).send({
file: { file: {
"type": "application/img", "type": "application/img",
"guid": '' "guid": ''