Ver código fonte

deleted console.logs

master
Florian Eisenmenger 1 ano atrás
pai
commit
c1b768059a
6 arquivos alterados com 0 adições e 15 exclusõ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 arquivo

@@ -72,7 +72,6 @@ export class DocumentsComponent {
).subscribe(
data => {
this.documents = data["hydra:member"];
console.log(this.documents);
this.documentsDataSource = new MatTableDataSource<DocumentJsonld>(this.documents);
this.documentsLength = Number(data["hydra:totalItems"]);
this.documentsPaginator.length = this.documentsLength;
@@ -136,7 +135,6 @@ export class DocumentsComponent {
openModalEditDocument(document: DocumentJsonld) {
const modalRefDocument = this.modalService.open(NewDocumentComponent, this.modalOptions);
modalRefDocument.componentInstance.document = document;
console.log(document);
modalRefDocument.componentInstance.submit.subscribe((modalStatus: ModalStatus) => {
if (modalStatus === ModalStatus.Submitted) {
modalRefDocument.dismiss();


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

@@ -63,11 +63,8 @@ export class NewDocumentComponent implements OnInit {

ngOnInit(): void {
this.documentForm = FormGroupInitializer.initFormGroup(this.documentForm, this.document);
console.log(this.document);
console.log(this.documentForm);
if (this.document.documentUrl === undefined) {
this.documentForm.patchValue({"documentObject": "-"});
console.log(this.documentForm);
}
}

@@ -132,11 +129,9 @@ export class NewDocumentComponent implements OnInit {
}

onFileSelected(event: any) {
console.log(this.documentForm);
const file: File = event.target.files[0];
if (file) {
this.selectedFile = file;
console.log(this.selectedFile);
}
}



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

@@ -103,7 +103,6 @@ export class HomeComponent implements OnInit, AfterViewInit {
}

getTasksData() {
console.log(this.user?.id);
this.tasksSub = this.taskService.tasksGetCollection(
this.tasksPageIndex + 1,
this.tasksPageSize,
@@ -117,7 +116,6 @@ export class HomeComponent implements OnInit, AfterViewInit {
this.taskNotesVisibility.set(task.id, false);
}
});
console.log(this.tasks);
}
);
}


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

@@ -198,7 +198,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit {
this.taskNotesVisibility.set(task.id, false);
}
});
console.log(this.tasks);
}
);
}
@@ -374,7 +373,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit {
if (partnerFollows.length > 0) {
this.partnerFollow = partnerFollows[0];
}
console.log(this.partnerFollow);
}
);
}
@@ -388,7 +386,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit {
).subscribe(
data => {
this.partnerFollow = data;
console.log(this.partnerFollow);
}
);
} else {
@@ -397,7 +394,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit {
).subscribe(
data => {
this.partnerFollow = null;
console.log(this.partnerFollow);
}
);
}


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

@@ -152,7 +152,6 @@ export class PartnersComponent implements OnInit, AfterViewInit {

navigateToPartnerDetails(element: any) {
const partner: PartnerJsonld = element as PartnerJsonld;
console.log(partner);
this.router.navigate(['/' + partner.partnerType, ApiConverter.extractId(partner.id)]);
}



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

@@ -75,7 +75,6 @@ export class TasksComponent implements OnInit, AfterViewInit {
this.taskNotesVisibility.set(task.id, false);
}
});
console.log(this.tasks);
}
);
}


Carregando…
Cancelar
Salvar