Skip to content

Commit

Permalink
fix(wc): provide gn4 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
fgravin committed Nov 28, 2023
1 parent e7e9323 commit c1620fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/webcomponents/src/app/webcomponents.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { GnDatasetViewChartComponent } from './components/gn-dataset-view-chart/
import { FeatureDatavizModule } from '@geonetwork-ui/feature/dataviz'
import { FeatureAuthModule } from '@geonetwork-ui/feature/auth'
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
import { provideGn4 } from '@geonetwork-ui/api/repository/gn4'

const CUSTOM_ELEMENTS: [new (...args) => BaseComponent, string][] = [
[GnFacetsComponent, 'gn-facets'],
Expand Down Expand Up @@ -83,6 +84,7 @@ const CUSTOM_ELEMENTS: [new (...args) => BaseComponent, string][] = [
BrowserAnimationsModule,
],
providers: [
provideGn4(),
{
provide: Configuration,
useValue: apiConfiguration,
Expand Down

0 comments on commit c1620fe

Please sign in to comment.