change base64 to file chunk

This commit is contained in:
Peter Maquiran
2024-03-26 14:20:14 +01:00
parent 09792fe2ce
commit 37ae4d5325
5 changed files with 13 additions and 13 deletions
@@ -358,9 +358,9 @@ export class NewPublicationPage implements OnInit {
}
ngOnDestroy() {
// if(!this.PublicationFromMvService.form.send) {
// this.PublicationFromMvService.cancel()
// }
if(!this.PublicationFromMvService.form.send) {
this.PublicationFromMvService.cancel()
}
}
@@ -126,7 +126,7 @@ export class PublicationFromMvService {
// const loader = this.toastService.loading()
this.form.send = false
this.form.send = true
const upload = await this.uploadVideosFiles()
if(upload) {
@@ -215,7 +215,7 @@ export class ViewPublicationsPage implements OnInit {
async AddPublication(publicationType: any, folderId: any) {
//if(this.PublicationHolderService.PublicationFormMV.length == 0) {
if(this.PublicationHolderService.PublicationFormMV.length == 0) {
if (window.innerWidth < 701) {
const modal = await this.modalController.create({
@@ -239,10 +239,10 @@ export class ViewPublicationsPage implements OnInit {
folderId: folderId
})
}
// } else {
} else {
// this.toastService._successMessage('já existe uma publicação a ser processado');
//}
this.toastService._successMessage('já existe uma publicação a ser processado');
}