mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Missed out on inverting the boolean expression
This commit is contained in:
@@ -19,7 +19,7 @@ Darkswarm.factory "OfnMap", (Enterprises, EnterpriseListModal, MapConfiguration)
|
||||
extend: (enterprise) ->
|
||||
marker = @coordinates[[enterprise.latitude, enterprise.longitude]]
|
||||
self = this
|
||||
if !marker
|
||||
if marker
|
||||
marker.icon = MapConfiguration.options.cluster_icon
|
||||
self.enterprise_hash(marker.enterprises, enterprise)
|
||||
marker.id.push(enterprise.id)
|
||||
|
||||
Reference in New Issue
Block a user