File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import SmartLink from './SmartLink';
55
66const baseStacBrowserUrl =
77 process . env . REACT_APP_STAC_BROWSER ||
8- ' https://radiantearth.github.io/stac-browser/#/external' ;
8+ ` https://radiantearth.github.io/stac-browser/#/external/ ${ process . env . REACT_APP_STAC_API } ` ;
99
1010export function StacBrowserMenuItem (
1111 props : MenuItemProps & { resourcePath : string }
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ function ItemDetail() {
108108 ) ;
109109 }
110110
111- const { title, description, ...properties } = item . properties ;
111+ const { title, description, ...properties } = item . properties ;
112112
113113 return (
114114 < Flex direction = 'column' gap = { 8 } >
@@ -136,7 +136,7 @@ function ItemDetail() {
136136 />
137137 < MenuList >
138138 < StacBrowserMenuItem
139- resourcePath = { `/collections/${ properties . collection } /items/${ properties . id } ` }
139+ resourcePath = { `/collections/${ item . collection } /items/${ item . id } ` }
140140 />
141141 < MenuItem
142142 icon = { < CollecticonTrashBin /> }
You can’t perform that action at this time.
0 commit comments