replicate download file from chat conversation mobile and web

This commit is contained in:
tiago.kayaya
2021-10-05 16:29:33 +01:00
parent db3cda5050
commit 9a629628f3
18 changed files with 252 additions and 21 deletions
+3 -2
View File
@@ -174,8 +174,8 @@ export class FileService {
"text": "",
"title_link": this.capturedImage,
"title_link_download": true,
"thumb_url": "https://static.ichimura.ed.jp/uploads/2017/10/pdf-icon.png",
"message_link": this.capturedImage,
"type": "file"
}],
"file":{
"name": this.capturedImageTitle,
@@ -233,6 +233,7 @@ export class FileService {
"title_link_download": true,
//"thumb_url": "assets/images/webtrix-logo.png",
"message_link": url_no_options,
"type": "webtrix"
}],
"file":{
"name": res.data.selected.Assunto,
@@ -252,7 +253,7 @@ export class FileService {
}
viewDocumentByUrl(url) {
const browser = this.iab.create(url,"_parent");
const browser = this.iab.create(url,"_blank");
browser.show();
}
}