Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): 1308 - Fix language mapping for semanticDataModel in … #1328

Merged
merged 4 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading