mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Remove relevant console log,
This commit is contained in:
@@ -64,11 +64,7 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
getPublicationDetail() {
|
||||
this.showLoader = true;
|
||||
//console.log(this.publicationId);
|
||||
/* console.log(this.folderId); */
|
||||
this.publications.GetPublicationById(this.publicationId).subscribe( res =>{
|
||||
//console.log(res);
|
||||
/* this.publication = res; */
|
||||
this.publication = {
|
||||
DateIndex: res.DateIndex,
|
||||
DocumentId: res.DocumentId,
|
||||
@@ -96,7 +92,7 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
this.capturedImage = 'data:image/jpeg;base64,' +capturedImage.base64String;
|
||||
this.capturedImageTitle = capturedImage.path;
|
||||
//console.log(this.capturedImage);
|
||||
//
|
||||
}
|
||||
|
||||
async laodPicture() {
|
||||
@@ -153,8 +149,8 @@ export class NewPublicationPage implements OnInit {
|
||||
FileExtension: 'jpeg',
|
||||
}
|
||||
|
||||
console.log('Edit change image');
|
||||
console.log(this.publication);
|
||||
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
@@ -185,7 +181,7 @@ export class NewPublicationPage implements OnInit {
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
console.log(this.publication);
|
||||
|
||||
await this.publications.UpdatePublication(this.publication.ProcessId, this.publication).toPromise()
|
||||
|
||||
this.toastService._successMessage()
|
||||
@@ -210,8 +206,8 @@ export class NewPublicationPage implements OnInit {
|
||||
FileExtension: 'jpeg',
|
||||
}
|
||||
|
||||
console.log('Edit change image');
|
||||
console.log(this.publication);
|
||||
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
@@ -245,7 +241,7 @@ export class NewPublicationPage implements OnInit {
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
console.log(this.publication);
|
||||
|
||||
await this.publications.CreatePublication(this.folderId, this.publication).toPromise()
|
||||
this.toastService._successMessage()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user