Skip to content
Snippets Groups Projects
Commit 91a88ebd authored by esikkala's avatar esikkala
Browse files

Migrations view: remove limit

parent e16d347b
No related branches found
No related tags found
No related merge requests found
......@@ -90,10 +90,10 @@ class Deck extends React.Component {
}
parseCoordinates = coords => {
if (Array.isArray(coords)) { coords = coords[0]; }
const lat = Array.isArray(coords.lat) ? coords.lat[0] : coords.lat;
const long = Array.isArray(coords.long) ? coords.long[0] : coords.long;
const arr = [ +long, +lat ];
// if (Array.isArray(coords)) { coords = coords[0]; }
// const lat = Array.isArray(coords.lat) ? coords.lat[0] : coords.lat;
// const long = Array.isArray(coords.long) ? coords.long[0] : coords.long;
const arr = [ +coords.long, +coords.lat ];
return arr;
}
......
......@@ -103,5 +103,4 @@ export const migrationsQuery = `
filter (?event__date2 > ?event__date)
}
}
LIMIT 250000
`;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment