Skip to content
Snippets Groups Projects
Commit 67c08da1 authored by Esko Ikkala's avatar Esko Ikkala
Browse files

Testing updated result objects

parent 0a0760a3
No related branches found
No related tags found
No related merge requests found
...@@ -137,7 +137,7 @@ const styles = theme => ({ ...@@ -137,7 +137,7 @@ const styles = theme => ({
let MapApp = (props) => { let MapApp = (props) => {
const { classes, error, theme, drawerIsOpen, mapReady } = props; const { classes, error, theme, drawerIsOpen, mapReady } = props;
const anchor = 'left'; const anchor = 'left';
console.log(props.results)
let resultsView = ''; let resultsView = '';
if (props.results.length > 0) { if (props.results.length > 0) {
switch(props.resultFormat) { switch(props.resultFormat) {
......
...@@ -50,8 +50,8 @@ export const INITIAL_STATE = { ...@@ -50,8 +50,8 @@ export const INITIAL_STATE = {
suggestions: [], suggestions: [],
suggestionsQuery: '', suggestionsQuery: '',
fetchingSuggestions: false, fetchingSuggestions: false,
//results: [], results: [],
results: sampleResults, //results: sampleResults,
resultsFilter: { resultsFilter: {
'typeLabel': new Set(), 'typeLabel': new Set(),
'broaderAreaLabel': new Set(), 'broaderAreaLabel': new Set(),
......
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