Commits
Kristof De Langhe authored 10cd6182ae5
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 | } |