fix publications

This commit is contained in:
Peter Maquiran
2024-03-11 10:34:00 +01:00
parent e87b4ccdef
commit 2654623662
2 changed files with 6 additions and 7 deletions
@@ -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 {