From edd2a64fd7f2aac7d5945a7574994cb0a5a24144 Mon Sep 17 00:00:00 2001 From: apapachristou Date: Wed, 23 Sep 2020 10:29:47 +0300 Subject: [PATCH] Removes console.log --- .../dataset-description.component.html | 24 +++++++++---------- .../table-of-contents.ts | 2 -- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/dmp-frontend/src/app/ui/misc/dataset-description-form/dataset-description.component.html b/dmp-frontend/src/app/ui/misc/dataset-description-form/dataset-description.component.html index 0c42621fe..9c7cbeeb1 100644 --- a/dmp-frontend/src/app/ui/misc/dataset-description-form/dataset-description.component.html +++ b/dmp-frontend/src/app/ui/misc/dataset-description-form/dataset-description.component.html @@ -1,21 +1,19 @@ -
- +
+ {{'DMP-EDITOR.DATASET-DESCRIPTION.INTRO' | translate}} +
+
- -
-
- - {{pageFormGroup.get('title').value}} - -
- -
-
+
+
+
+
- +
diff --git a/dmp-frontend/src/app/ui/misc/dataset-description-form/tableOfContentsMaterial/table-of-contents.ts b/dmp-frontend/src/app/ui/misc/dataset-description-form/tableOfContentsMaterial/table-of-contents.ts index 9025251c0..73db8b415 100644 --- a/dmp-frontend/src/app/ui/misc/dataset-description-form/tableOfContentsMaterial/table-of-contents.ts +++ b/dmp-frontend/src/app/ui/misc/dataset-description-form/tableOfContentsMaterial/table-of-contents.ts @@ -127,14 +127,12 @@ export class TableOfContents extends BaseComponent implements OnInit { let innerPage; for (const link of this.links) { link.selected = false; - console.log(link); if (link.type === 'mat-expansion-panel') { innerPage = +link.name.split(".",1)[0]; if(isNaN(innerPage)) { innerPage = +link.name.split(" ",1) } } else if (link.type === 'h5') { innerPage = +link.name.split(".",1)[0]; } - console.log('innerPage ', innerPage) if (headerPage === innerPage && (link.type !== 'mat-expansion-panel' || (link.type === 'mat-expansion-panel' && link.id.split(".")[4]))) { link.show = !link.show; }