mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
improve
This commit is contained in:
@@ -18,6 +18,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"server": {
|
"server": {
|
||||||
"url": "http://192.168.1.6:8101"
|
"url": "http://192.168.0.37:8101"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+692
-311
File diff suppressed because it is too large
Load Diff
@@ -42,6 +42,7 @@ import { File } from '@awesome-cordova-plugins/file/ngx';
|
|||||||
import { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';
|
import { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';
|
||||||
import { Filesystem, Directory } from '@capacitor/filesystem';
|
import { Filesystem, Directory } from '@capacitor/filesystem';
|
||||||
|
|
||||||
|
|
||||||
const IMAGE_DIR = 'stored-images';
|
const IMAGE_DIR = 'stored-images';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -1019,6 +1020,8 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
this.downloadFileFromBrowser("file", str)
|
this.downloadFileFromBrowser("file", str)
|
||||||
this.downloadFileFromBrowser(msg.attachments[0].name, str)
|
this.downloadFileFromBrowser(msg.attachments[0].name, str)
|
||||||
|
|
||||||
|
this.downloadFileFromBrowser(msg.attachments[0].name, str)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1120,6 +1120,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
|
|||||||
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {
|
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {
|
||||||
|
|
||||||
console.log(msg)
|
console.log(msg)
|
||||||
|
|
||||||
if (msg.file.type == "application/img") {
|
if (msg.file.type == "application/img") {
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: ViewMediaPage,
|
component: ViewMediaPage,
|
||||||
|
|||||||
@@ -165,10 +165,8 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
this.wsChatMethodsService.getAllRooms();
|
this.wsChatMethodsService.getAllRooms();
|
||||||
|
|
||||||
this.chatService.refreshtoken();
|
this.chatService.refreshtoken();
|
||||||
this.scrollToBottom();
|
this.scrollToBottom();
|
||||||
this.getChatMembers();
|
this.getChatMembers();
|
||||||
|
|||||||
Reference in New Issue
Block a user