Skip to content

Commit b836c4e

Browse files
committed
Bugfix: check the right property
1 parent 63e3d7c commit b836c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class ItemPageCcLicenseFieldComponent implements OnInit {
9494
);
9595
}
9696

97-
if (hasValue(this.ccLicenseNameField)) {
97+
if (hasValue(this.ccLicenseUriField)) {
9898
this.uri$ = of(this.item.firstMetadataValue(this.ccLicenseUriField));
9999
} else {
100100
this.uri$ = this.configService.findByPropertyName('cc.license.uri').pipe(

0 commit comments

Comments
 (0)