mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
fix upload
This commit is contained in:
@@ -116,7 +116,7 @@ export class PublicationsPage implements OnInit {
|
||||
if (event instanceof NavigationEnd && event.url == pathname) {
|
||||
console.log('=================', this.publicationFolderService.gotoAction)
|
||||
this.getActions();
|
||||
this.checkQueryParameter()
|
||||
// this.checkQueryParameter()
|
||||
}
|
||||
this.intent = window['sharedContent']
|
||||
});
|
||||
@@ -382,7 +382,7 @@ export class PublicationsPage implements OnInit {
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.intent = window["sharedContent"]
|
||||
this.doRefresh(event);
|
||||
// this.doRefresh(event);
|
||||
this.checkQueryParameter();
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
@@ -170,9 +170,8 @@ export class PublicationFromMvService {
|
||||
|
||||
if(upload) {
|
||||
this.form.Files = this.form.Files.map((e:PublicationAttachmentEntity) => {
|
||||
console.log({e})
|
||||
if(e.FileType == 'video' && e.toUpload) {
|
||||
e.OriginalFileName = e?.chucksManager?.path?.replace(".mp4", "") || e.OriginalFileName
|
||||
e.OriginalFileName = e.chucksManager?.path?.replace(".mp4", "") || e.OriginalFileName
|
||||
e.FileExtension = e.FileExtension || "mp4"
|
||||
e.Base64 = ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user