mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
fix cancle notification message
This commit is contained in:
@@ -87,7 +87,7 @@ export class NewPublicationPage implements OnInit {
|
||||
private SocketConnectionMCRService: SocketConnectionMCRService,
|
||||
private videoconvertService: VideoconvertService,
|
||||
public UploadStreamingService: UploadStreamingService,
|
||||
private modalController: ModalController,
|
||||
private modalController: ModalController
|
||||
) {
|
||||
this.publicationTitle = 'Nova Publicação';
|
||||
this.PublicationFromMvService.clear()
|
||||
@@ -251,7 +251,7 @@ export class NewPublicationPage implements OnInit {
|
||||
this.convertBlobToBase64(blobFile.blob).then((value: string) => {
|
||||
|
||||
this.filesSizeSum = this.filesSizeSum + blobFile.size
|
||||
|
||||
|
||||
const FileExtension = this.removeTextBeforeSlash(blobFile.mimeType, '/')
|
||||
|
||||
const file = new File([blobFile.blob], blobFile.name);
|
||||
@@ -272,7 +272,7 @@ export class NewPublicationPage implements OnInit {
|
||||
}).catch((erro) => {
|
||||
console.log(erro)
|
||||
})
|
||||
|
||||
|
||||
} else {
|
||||
this.httpErroHandle.validationMessagge('filetype');
|
||||
}
|
||||
@@ -380,6 +380,10 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
|
||||
close() {
|
||||
if(this.PublicationFromMvService.form.send == false) {
|
||||
this.PublicationFromMvService.cancel()
|
||||
this.PublicationFromMvService.ObjectMergeNotification.close()
|
||||
}
|
||||
this.goBack();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user