From 8283a9708e58f89b20b21346a30e7a27c031cce3 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Thu, 25 Oct 2018 14:02:10 +0100 Subject: [PATCH] FIx homepage age colour bg --- app/src/frontend/map.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/frontend/map.js b/app/src/frontend/map.js index a58f6f14..d686f633 100644 --- a/app/src/frontend/map.js +++ b/app/src/frontend/map.js @@ -121,6 +121,9 @@ class ColouringMap extends Component { }; function get_cat(is_building, location, url) { + if (url === "/") { + return "age" + } const search = (location && location.search)? queryString.parse(location.search) : {}; var cat, matches; if (is_building) {