Skip to content

Commit

Permalink
Merge pull request #1328 from eclipse-tractusx/chore/1308-fix-partname
Browse files Browse the repository at this point in the history
chore(release): 1308 - Fix language mapping for semanticDataModel in …
  • Loading branch information
ds-mwesener authored Jul 30, 2024
2 parents 0365bfd + adabcff commit e3b7814
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ _**For better traceability add the corresponding GitHub issue number in each cha
## [UNRELEASED - DD.MM.YYYY]

### Changed
- #1122 fix editing notification sendTo attribute
- #1122 Fixed editing notification sendTo attribute
- #1328 Fixed semanticDataModel translation and part name within notification detail / edit view.

## [13.0.1 - 26.07.2024]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ export class NotificationDetailComponent implements AfterViewInit, OnDestroy {
private setTableConfigs(data: Notification): void {
this.isReceived = !data.isFromSender;

const displayedColumns = [ 'id', 'semanticDataModel', 'name', 'semanticModelId' ];
const sortableColumns = { id: true, semanticDataModel: true, name: true, semanticModelId: true };
const displayedColumns = [ 'id', 'semanticDataModel', 'nameAtManufacturer', 'semanticModelId' ];
const sortableColumns = { id: true, semanticDataModel: true, nameAtManufacturer: true, semanticModelId: true };

const tableConfig = {
displayedColumns,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h3>{{ 'table.noResultFound' | i18n }}</h3>

<ng-template #semanticDataModelElement>
<ng-container *ngIf="isSemanticDataModel(column); else autoFormatRef">
{{'table.semanticDataModel.' + element[column] | i18n}}
{{'table.semanticDataModel.' + element[column]?.toUpperCase() | i18n}}
</ng-container>
</ng-template>

Expand Down

0 comments on commit e3b7814

Please sign in to comment.