Skip to content

Commit

Permalink
chore: remove ArcGIS Feature from map service options in external lay…
Browse files Browse the repository at this point in the history
…er [v41] (#2979)

ArcGIS Feature is not yet supported in the maps app, so we shouldn't yet
let users add external layers of this type

---------

Co-authored-by: Birk Johansson <[email protected]>
  • Loading branch information
jenniferarnesen and Birkbjo authored Oct 29, 2024
1 parent 6ac453d commit bc37861
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build
run: yarn build

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: app-build
path: |
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
with:
node-version: 12.x

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: app-build

Expand Down
13 changes: 13 additions & 0 deletions src/config/field-overrides/externalMapLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,17 @@ export default new Map([
},
},
],
[
'mapService',
{
required: true,
component: props => {
const options = props.options.filter(
option => option.value !== 'ARCGIS_FEATURE'
);

return <DropDown {...props} options={options} />;
},
},
],
]);

0 comments on commit bc37861

Please sign in to comment.