Skip to content

Commit

Permalink
Fix language display
Browse files Browse the repository at this point in the history
  • Loading branch information
vej-ananas committed Jul 11, 2024
1 parent 7a896de commit 5bd4667
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<th translate="search.language"></th>
<td>
<ul class="languages">
<li *ngFor="let language of assetDetail.languages">{{ language }}</li>
<li *ngFor="let language of assetDetail.languages">{{ language | valueItemName }}</li>
</ul>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ const makeAssetDetailVMNew = (referenceData: ReferenceData, assetDetail: AssetEd
return { role: contact.role, contact: referenceData.contacts[contact.contactId] };
})
.map((contact) => makeAssetDetailContactVM(referenceData, contact)),
languages: assetLanguages,
languages: assetLanguages.map(({ languageItemCode: code }) => referenceData.languageItems[code]),
manCatLabels: manCatLabelRefs.map((manCatLabelItemCode) => referenceData.manCatLabelItems[manCatLabelItemCode]),
assetFormatCompositions: assetFormatCompositions.map(
(assetFormatItemCode) => referenceData.assetFormatItems[assetFormatItemCode]
Expand Down

0 comments on commit 5bd4667

Please sign in to comment.