Skip to content

Commit 1258bc2

Browse files
[DURACOM-426] filter data labels
1 parent 3f35069 commit 1258bc2

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/models/onebox/dynamic-onebox.component.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
<div class="ms-2 text-truncate text-primary fw-bold">{{entry.value}}</div>
1515
</li>
1616
@for (item of entry.otherInformation | dsObjNgFor; track item) {
17-
<li class="list-item text-truncate text-secondary" >
18-
{{ 'form.other-information.' + item.key | translate }} : {{item.value}}
19-
</li>
17+
@if(!item.key.startsWith('data-')) {
18+
<li class="list-item text-truncate text-secondary" >
19+
{{ 'form.other-information.' + item.key | translate }} : {{item.value}}
20+
</li>
21+
}
2022
}
2123
</ul>
2224
</ng-template>

src/assets/i18n/en.json5

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,12 +2087,8 @@
20872087

20882088
"form.other-information.orcid": "ORCID",
20892089

2090-
"form.other-information.data-person_identifier_orcid": "ORCID",
2091-
20922090
"form.other-information.person_identifier_orcid": "ORCID",
20932091

2094-
"form.other-information.data-oairecerif_author_affiliation": "Affiliation",
2095-
20962092
"form.other-information.oairecerif_author_affiliation": "Affiliation",
20972093

20982094
"form.other-information.oairecerif_editor_affiliation": "Affiliation",

0 commit comments

Comments
 (0)