Skip to content

Commit 45e0de6

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-1817 Fix for image not showing when showName set to false
1 parent bdbdfa9 commit 45e0de6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div *ngIf="uri && name" class="item-page-field">
2-
<ds-metadata-field-wrapper [label]="showTitle && ('item.page.cc.license.title' | translate)">
2+
<ds-metadata-field-wrapper [hideIfNoTextContent]="false" [label]="showTitle && ('item.page.cc.license.title' | translate)">
33
<div [ngClass]="{'row': variant === 'full', 'col': variant === 'small'}">
44

55
<!-- 'img' tag is not rendered if any errors occurs when loading it -->

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
@@ -58,7 +58,7 @@ export class ItemPageCcLicenseFieldComponent implements OnInit {
5858
/**
5959
* Shows the title
6060
*/
61-
@Input() showTitle? = false;
61+
@Input() showTitle? = true;
6262

6363
uri: string;
6464
name: string;

0 commit comments

Comments
 (0)