Skip to content
Snippets Groups Projects
Commit 4a8735d6 authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: spatial search crashes on fail atempt

parent e894b8c5
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,7 @@ export class DatabrowserService implements OnDestroy{ ...@@ -109,6 +109,7 @@ export class DatabrowserService implements OnDestroy{
) )
this.spatialDatasets$ = this.fetchSpatialData$.pipe( this.spatialDatasets$ = this.fetchSpatialData$.pipe(
filter(([navigation, templateSelected]) => !!navigation && !!navigation.position && !!templateSelected && !!templateSelected.name),
switchMap(([navigation, templateSelected]) => { switchMap(([navigation, templateSelected]) => {
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment