Ver a proveniência

deleted console.logs

master
Florian Eisenmenger há 1 ano
ascendente
cometimento
c1b768059a
6 ficheiros alterados com 0 adições e 15 eliminações
  1. +0
    -2
      matsen-tool/src/app/documents/documents.component.ts
  2. +0
    -5
      matsen-tool/src/app/documents/new-document/new-document.component.ts
  3. +0
    -2
      matsen-tool/src/app/home/home.component.ts
  4. +0
    -4
      matsen-tool/src/app/partners/partners-detail/partners-detail.component.ts
  5. +0
    -1
      matsen-tool/src/app/partners/partners.component.ts
  6. +0
    -1
      matsen-tool/src/app/tasks/tasks.component.ts

+ 0
- 2
matsen-tool/src/app/documents/documents.component.ts Ver ficheiro

@@ -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();


+ 0
- 5
matsen-tool/src/app/documents/new-document/new-document.component.ts Ver ficheiro

@@ -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);
} }
} }




+ 0
- 2
matsen-tool/src/app/home/home.component.ts Ver ficheiro

@@ -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);
} }
); );
} }


+ 0
- 4
matsen-tool/src/app/partners/partners-detail/partners-detail.component.ts Ver ficheiro

@@ -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);
} }
); );
} }


+ 0
- 1
matsen-tool/src/app/partners/partners.component.ts Ver ficheiro

@@ -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)]);
} }




+ 0
- 1
matsen-tool/src/app/tasks/tasks.component.ts Ver ficheiro

@@ -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);
} }
); );
} }


Carregando…
Cancelar
Guardar