mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
fix publications
This commit is contained in:
@@ -402,6 +402,7 @@ export class NewPublicationPage implements OnInit {
|
||||
let time = new Date()
|
||||
if (this.publicationFormMV.form.Files.length >= 1) {
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
const upload = await this.publicationFormMV.uploadVideosFiles()
|
||||
|
||||
@@ -410,7 +411,10 @@ export class NewPublicationPage implements OnInit {
|
||||
if(e.FileType == 'video' && e.blobFile && e.toUpload) {
|
||||
e.OriginalFileName = e.chucksManager.path.replace(".mp4", "")
|
||||
e.FileExtension = "mp4"
|
||||
e.Base64 = ''
|
||||
}
|
||||
|
||||
|
||||
return e
|
||||
})
|
||||
|
||||
@@ -427,7 +431,7 @@ export class NewPublicationPage implements OnInit {
|
||||
publication.DocumentId = null;
|
||||
publication.ProcessId = this.folderId
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
|
||||
try {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user