mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
change base64 to file chunk
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user