From 8dce85f92aee1b21ffc9ed451756cd750215391b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 24 Jan 2016 23:50:34 -0800 Subject: [PATCH] Hide passive zones --- src/layouts/partial-map.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layouts/partial-map.js b/src/layouts/partial-map.js index b7e7cabb40..fd15083c5c 100644 --- a/src/layouts/partial-map.js +++ b/src/layouts/partial-map.js @@ -43,7 +43,9 @@ export default new Polymer({ bindNuclear: [ entityGetters.entityMap, entities => entities.valueSeq() - .filter(entity => entity.domain === 'zone').toArray(), + .filter(entity => entity.domain === 'zone' && + !entity.attributes.passive) + .toArray(), ], },