Commits

Kristof De Langhe authored 10cd6182ae5
68948: Item null check
No tags

src/app/shared/item/item-versions/notice/item-versions-notice.component.ts

Modified
100 100 startWith(true)
101 101 )
102 102 }
103 103 }
104 104
105 105 /**
106 106 * Get the item page url
107 107 * @param item The item for which the url is requested
108 108 */
109 109 getItemPage(item: Item): string {
110 - return getItemPageRoute(item.id);
110 + if (hasValue(item)) {
111 + return getItemPageRoute(item.id);
112 + }
111 113 }
112 114 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut