FIx homepage age colour bg

This commit is contained in:
Tom Russell 2018-10-25 14:02:10 +01:00
parent 967f519e8f
commit 8283a9708e

View File

@ -121,6 +121,9 @@ class ColouringMap extends Component {
}; };
function get_cat(is_building, location, url) { function get_cat(is_building, location, url) {
if (url === "/") {
return "age"
}
const search = (location && location.search)? queryString.parse(location.search) : {}; const search = (location && location.search)? queryString.parse(location.search) : {};
var cat, matches; var cat, matches;
if (is_building) { if (is_building) {