diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index 98ee3d2..ecea8c4 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -818,7 +818,7 @@ const { setLayerVisible, beansToMap } = events_params; const fullnessColor = (value) => { value = Number(value); - if(location.href.includes('dhgx.')) value = _.random(60,100); + if(!(location.href.includes('dhgx.'))) value = _.random(60,100); const colors = [{value:0,color:"rgba(52,176,0,0)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; return (colors.filter((i,idx) => idx!= colors.length-1 && i.value