Skip to content

Commit

Permalink
Update sidebar, map;
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Aug 31, 2020
1 parent ad8e11d commit 392fd34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ const OpenlayersMapView = (props) => {
stateRef.current.updateMapPosition,
);
var url =
'https://services.arcgis.com/LcQjj2sL7Txk9Lag/arcgis/rest/services/ly_IED_SiteMap_WM/FeatureServer/0/query/?f=json&' +
'https://services.arcgis.com/LcQjj2sL7Txk9Lag/arcgis/rest/services/SiteMap/FeatureServer/0/query/?f=json&' +
'returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=' +
encodeURIComponent(
'{"xmin":' +
Expand Down
2 changes: 0 additions & 2 deletions src/components/manage/Blocks/SidebarBlock/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ const makeNewNavigation = (
: [],
}));
} else if (preset === 'lcps') {
console.log(collection);
return items.map((item) => ({
...item,
onClick: () => {
Expand Down Expand Up @@ -482,7 +481,6 @@ const View = ({ content, ...props }) => {
props.dispatch,
),
);
console.log(navigation);
} else if (preset.key && !collection.length) {
navigation = flattenArray(props.navigation.items, {}, 0, 0);
} else {
Expand Down

0 comments on commit 392fd34

Please sign in to comment.