File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,15 +169,19 @@ export class MapEffects {
169169 withLatestFrom ( this . store$ . select ( getSearchType ) ) ,
170170 filter ( ( [ product , searchType ] ) => {
171171 if ( searchType === SearchType . LIST ) {
172- return (
172+ const isAllowed =
173173 product . dataset === 'ALOS' ||
174174 product . dataset === 'Sentinel-1A' ||
175175 product . dataset === 'Sentinel-1B' ||
176176 product . dataset === 'Sentinel-1C' ||
177177 product . dataset === 'Sentinel-1 Interferogram (BETA)' ||
178- product . dataset === 'UAVSAR' ||
179- product . dataset === 'NISAR'
180- ) ;
178+ product . dataset === 'UAVSAR' ;
179+
180+ if ( ! isAllowed ) {
181+ this . store$ . dispatch ( new ClearBrowseOverlays ( ) ) ;
182+ }
183+
184+ return isAllowed ;
181185 } else if ( searchType === SearchType . CUSTOM_PRODUCTS ) {
182186 const failed =
183187 product . metadata . job ?. status_code ===
You can’t perform that action at this time.
0 commit comments