Skip to content

Commit

Permalink
chore(DH): do not inject undefined for basemap layers token
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Oct 29, 2024
1 parent f36b679 commit ef56d05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/datahub/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ export const metaReducers: MetaReducer[] = !environment.production ? [] : []
{
provide: BASEMAP_LAYERS,
useFactory: () =>
getOptionalMapConfig()?.MAP_LAYERS.map(getMapContextLayerFromConfig),
getOptionalMapConfig()?.MAP_LAYERS.map(getMapContextLayerFromConfig) ??
[],
},
{
provide: MAP_VIEW_CONSTRAINTS,
Expand Down

0 comments on commit ef56d05

Please sign in to comment.