Skip to content

Commit 9efc19d

Browse files
Merge pull request #623 from VirtusLab-Open-Source/feat/display-friendly-ct-names
fix: fix build
2 parents d6a55b0 + a33fdb6 commit 9efc19d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/src/pages/HomePage/utils/parsers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const extractRelatedItemLabel = (
191191
const contentType = contentTypes.find(({ uid }) => uid === __collectionUid);
192192

193193
if (contentType?.isSingle) {
194-
return contentType.labelSingular;
194+
return contentType.label;
195195
}
196196

197197
const defaultFieldsWithCapitalizedOptions = [

0 commit comments

Comments
 (0)