mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +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) {
|
async AddPublication(publicationType: any, folderId: any) {
|
||||||
|
|
||||||
// if(this.PublicationHolderService.PublicationFormMV.length == 0) {
|
if(this.PublicationHolderService.PublicationFormMV.length == 0) {
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: NewPublicationPage,
|
component: NewPublicationPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
@@ -330,9 +330,9 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
this.doRefresh(event);
|
this.doRefresh(event);
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
//} else {
|
} else {
|
||||||
// this.toastService._successMessage('já existe uma publicação a ser processado');
|
this.toastService._successMessage('já existe uma publicação a ser processado');
|
||||||
//}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -358,9 +358,9 @@ export class NewPublicationPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
// if(!this.PublicationFromMvService.form.send) {
|
if(!this.PublicationFromMvService.form.send) {
|
||||||
// this.PublicationFromMvService.cancel()
|
this.PublicationFromMvService.cancel()
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ export class PublicationFromMvService {
|
|||||||
|
|
||||||
// const loader = this.toastService.loading()
|
// const loader = this.toastService.loading()
|
||||||
|
|
||||||
this.form.send = false
|
this.form.send = true
|
||||||
const upload = await this.uploadVideosFiles()
|
const upload = await this.uploadVideosFiles()
|
||||||
|
|
||||||
if(upload) {
|
if(upload) {
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
|
|
||||||
async AddPublication(publicationType: any, folderId: any) {
|
async AddPublication(publicationType: any, folderId: any) {
|
||||||
|
|
||||||
//if(this.PublicationHolderService.PublicationFormMV.length == 0) {
|
if(this.PublicationHolderService.PublicationFormMV.length == 0) {
|
||||||
|
|
||||||
if (window.innerWidth < 701) {
|
if (window.innerWidth < 701) {
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
@@ -239,10 +239,10 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
folderId: folderId
|
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'
|
import { DevDev } from './suport/dev'
|
||||||
|
|
||||||
|
|
||||||
export const environment: Environment = oaprDev
|
export const environment: Environment = DevDev
|
||||||
|
|||||||
Reference in New Issue
Block a user