Skip to content

Commit

Permalink
Fix collection detail breaking when no description is set. (#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
newswangerd committed Jun 10, 2019
1 parent f886f30 commit 65f6692
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ export class ContentHeaderComponent implements OnInit {
iconClass: 'pficon-repository',
tooltip: 'Collection',
name: this.collection.name,
description: this.collection.latest_version.metadata.description,
description:
this.collection.latest_version.metadata.description || '',
downloadCount: this.collection.download_count,
formatType: 'Collection',
deprecated: this.collection.deprecated,
Expand Down

0 comments on commit 65f6692

Please sign in to comment.