Browse Source

Using Date and Time to build marker props.

master
GabrielTrettel 4 years ago
parent
commit
faa6f60fab
  1. 3
      src/app/hooks/selectFromDB.js

3
src/app/hooks/selectFromDB.js

@ -86,6 +86,7 @@ function parseFloodZones(row) {
? custom_assets.floodZones.passable
: custom_assets.floodZones.notPassable,
description: row["Description"],
date: row["Date"] + " | " + row["Time"],
pictures: row["Images"],
};
}
@ -107,6 +108,7 @@ function parseRiverLevel(row) {
},
image: custom_assets.riverLevel[riverIdx],
description: row["Description"],
date: row["Date"] + " | " + row["Time"],
pictures: row["Images"],
};
}
@ -137,6 +139,7 @@ function parseRainLevel(row) {
},
image: custom_assets.rainLevel[rainIdx],
description: description,
date: row["Date"] + " | " + row["Time"],
pictures: row["Images"],
};
}

Loading…
Cancel
Save