| @@ -72,7 +72,6 @@ export class DocumentsComponent { | |||||
| ).subscribe( | ).subscribe( | ||||
| data => { | data => { | ||||
| this.documents = data["hydra:member"]; | this.documents = data["hydra:member"]; | ||||
| console.log(this.documents); | |||||
| this.documentsDataSource = new MatTableDataSource<DocumentJsonld>(this.documents); | this.documentsDataSource = new MatTableDataSource<DocumentJsonld>(this.documents); | ||||
| this.documentsLength = Number(data["hydra:totalItems"]); | this.documentsLength = Number(data["hydra:totalItems"]); | ||||
| this.documentsPaginator.length = this.documentsLength; | this.documentsPaginator.length = this.documentsLength; | ||||
| @@ -136,7 +135,6 @@ export class DocumentsComponent { | |||||
| openModalEditDocument(document: DocumentJsonld) { | openModalEditDocument(document: DocumentJsonld) { | ||||
| const modalRefDocument = this.modalService.open(NewDocumentComponent, this.modalOptions); | const modalRefDocument = this.modalService.open(NewDocumentComponent, this.modalOptions); | ||||
| modalRefDocument.componentInstance.document = document; | modalRefDocument.componentInstance.document = document; | ||||
| console.log(document); | |||||
| modalRefDocument.componentInstance.submit.subscribe((modalStatus: ModalStatus) => { | modalRefDocument.componentInstance.submit.subscribe((modalStatus: ModalStatus) => { | ||||
| if (modalStatus === ModalStatus.Submitted) { | if (modalStatus === ModalStatus.Submitted) { | ||||
| modalRefDocument.dismiss(); | modalRefDocument.dismiss(); | ||||
| @@ -63,11 +63,8 @@ export class NewDocumentComponent implements OnInit { | |||||
| ngOnInit(): void { | ngOnInit(): void { | ||||
| this.documentForm = FormGroupInitializer.initFormGroup(this.documentForm, this.document); | this.documentForm = FormGroupInitializer.initFormGroup(this.documentForm, this.document); | ||||
| console.log(this.document); | |||||
| console.log(this.documentForm); | |||||
| if (this.document.documentUrl === undefined) { | if (this.document.documentUrl === undefined) { | ||||
| this.documentForm.patchValue({"documentObject": "-"}); | this.documentForm.patchValue({"documentObject": "-"}); | ||||
| console.log(this.documentForm); | |||||
| } | } | ||||
| } | } | ||||
| @@ -132,11 +129,9 @@ export class NewDocumentComponent implements OnInit { | |||||
| } | } | ||||
| onFileSelected(event: any) { | onFileSelected(event: any) { | ||||
| console.log(this.documentForm); | |||||
| const file: File = event.target.files[0]; | const file: File = event.target.files[0]; | ||||
| if (file) { | if (file) { | ||||
| this.selectedFile = file; | this.selectedFile = file; | ||||
| console.log(this.selectedFile); | |||||
| } | } | ||||
| } | } | ||||
| @@ -103,7 +103,6 @@ export class HomeComponent implements OnInit, AfterViewInit { | |||||
| } | } | ||||
| getTasksData() { | getTasksData() { | ||||
| console.log(this.user?.id); | |||||
| this.tasksSub = this.taskService.tasksGetCollection( | this.tasksSub = this.taskService.tasksGetCollection( | ||||
| this.tasksPageIndex + 1, | this.tasksPageIndex + 1, | ||||
| this.tasksPageSize, | this.tasksPageSize, | ||||
| @@ -117,7 +116,6 @@ export class HomeComponent implements OnInit, AfterViewInit { | |||||
| this.taskNotesVisibility.set(task.id, false); | this.taskNotesVisibility.set(task.id, false); | ||||
| } | } | ||||
| }); | }); | ||||
| console.log(this.tasks); | |||||
| } | } | ||||
| ); | ); | ||||
| } | } | ||||
| @@ -198,7 +198,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit { | |||||
| this.taskNotesVisibility.set(task.id, false); | this.taskNotesVisibility.set(task.id, false); | ||||
| } | } | ||||
| }); | }); | ||||
| console.log(this.tasks); | |||||
| } | } | ||||
| ); | ); | ||||
| } | } | ||||
| @@ -374,7 +373,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit { | |||||
| if (partnerFollows.length > 0) { | if (partnerFollows.length > 0) { | ||||
| this.partnerFollow = partnerFollows[0]; | this.partnerFollow = partnerFollows[0]; | ||||
| } | } | ||||
| console.log(this.partnerFollow); | |||||
| } | } | ||||
| ); | ); | ||||
| } | } | ||||
| @@ -388,7 +386,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit { | |||||
| ).subscribe( | ).subscribe( | ||||
| data => { | data => { | ||||
| this.partnerFollow = data; | this.partnerFollow = data; | ||||
| console.log(this.partnerFollow); | |||||
| } | } | ||||
| ); | ); | ||||
| } else { | } else { | ||||
| @@ -397,7 +394,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit { | |||||
| ).subscribe( | ).subscribe( | ||||
| data => { | data => { | ||||
| this.partnerFollow = null; | this.partnerFollow = null; | ||||
| console.log(this.partnerFollow); | |||||
| } | } | ||||
| ); | ); | ||||
| } | } | ||||
| @@ -152,7 +152,6 @@ export class PartnersComponent implements OnInit, AfterViewInit { | |||||
| navigateToPartnerDetails(element: any) { | navigateToPartnerDetails(element: any) { | ||||
| const partner: PartnerJsonld = element as PartnerJsonld; | const partner: PartnerJsonld = element as PartnerJsonld; | ||||
| console.log(partner); | |||||
| this.router.navigate(['/' + partner.partnerType, ApiConverter.extractId(partner.id)]); | this.router.navigate(['/' + partner.partnerType, ApiConverter.extractId(partner.id)]); | ||||
| } | } | ||||
| @@ -75,7 +75,6 @@ export class TasksComponent implements OnInit, AfterViewInit { | |||||
| this.taskNotesVisibility.set(task.id, false); | this.taskNotesVisibility.set(task.id, false); | ||||
| } | } | ||||
| }); | }); | ||||
| console.log(this.tasks); | |||||
| } | } | ||||
| ); | ); | ||||
| } | } | ||||