mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
change base64 to file chunk
This commit is contained in:
@@ -315,7 +315,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
|
||||
async AddPublication(publicationType: any, folderId: any) {
|
||||
|
||||
// if(this.PublicationHolderService.PublicationFormMV.length == 0) {
|
||||
if(this.PublicationHolderService.PublicationFormMV.length == 0) {
|
||||
const modal = await this.modalController.create({
|
||||
component: NewPublicationPage,
|
||||
componentProps: {
|
||||
@@ -330,9 +330,9 @@ export class ViewPublicationsPage implements OnInit {
|
||||
this.doRefresh(event);
|
||||
});
|
||||
await modal.present();
|
||||
//} else {
|
||||
// this.toastService._successMessage('já existe uma publicação a ser processado');
|
||||
//}
|
||||
} else {
|
||||
this.toastService._successMessage('já existe uma publicação a ser processado');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,4 +4,4 @@ import { environment as oaprDev } from './suport/oapr'
|
||||
import { DevDev } from './suport/dev'
|
||||
|
||||
|
||||
export const environment: Environment = oaprDev
|
||||
export const environment: Environment = DevDev
|
||||
|
||||
Reference in New Issue
Block a user