summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/map/layers/ObjectHoverLayer.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/containers/app/map/layers/ObjectHoverLayer.js')
-rw-r--r--frontend/src/containers/app/map/layers/ObjectHoverLayer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/containers/app/map/layers/ObjectHoverLayer.js b/frontend/src/containers/app/map/layers/ObjectHoverLayer.js
index dc489e82..4619c0b8 100644
--- a/frontend/src/containers/app/map/layers/ObjectHoverLayer.js
+++ b/frontend/src/containers/app/map/layers/ObjectHoverLayer.js
@@ -19,7 +19,7 @@ const mapStateToProps = state => {
)
const tile = findTileWithPosition(tiles, x, y)
- return !(tile === null || tile.objectType)
+ return !(tile === null || tile.rackId)
},
}
}