forked from hazza/dspace-angular
68948: Item null check
This commit is contained in:
@@ -107,6 +107,8 @@ export class ItemVersionsNoticeComponent implements OnInit {
|
||||
* @param item The item for which the url is requested
|
||||
*/
|
||||
getItemPage(item: Item): string {
|
||||
if (hasValue(item)) {
|
||||
return getItemPageRoute(item.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user