Skip to content

Commit

Permalink
fix for ExB 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
esride-nik committed Oct 15, 2023
1 parent 1898fce commit 0837b70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions widgets/w3w/src/setting/setting.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @jsx jsx */
import { React, Immutable, FormattedMessage, css, jsx } from 'jimu-core'
import { type AllWidgetSettingProps } from 'jimu-for-builder'
import { JimuMapViewSelector, SettingRow, SettingSection } from 'jimu-ui/advanced/setting-components'
import { MapWidgetSelector, SettingRow, SettingSection } from 'jimu-ui/advanced/setting-components'
import { ArcGISDataSourceTypes } from 'jimu-arcgis'
import { type IMConfig } from '../config'
import defaultMessages from './translations/default'
Expand Down Expand Up @@ -148,9 +148,9 @@ export default class Setting extends React.PureComponent<AllWidgetSettingProps<I
defaultMessage: defaultMessages.selectMapWidget
})}>
<SettingRow>
<JimuMapViewSelector
onChange={this.onMapSelected}
useMapViewIds={this.props.useMapWidgetIds as unknown as string[]}
<MapWidgetSelector
onSelect={this.onMapSelected}
useMapWidgetIds={this.props.useMapWidgetIds}
/>
</SettingRow>
</SettingSection>
Expand Down

0 comments on commit 0837b70

Please sign in to comment.