Merge branch 'PreorderRimoTypeMap/add-highlight' into 'master'
Add highlight class for groups with excess preorder count See merge request fronk/thetool!1875
This commit is contained in:
@@ -242,6 +242,7 @@ Vue.component('PreorderRimoTypeMap', {
|
||||
let tooltipInnerClass = '';
|
||||
if (rimoType !== 'greenfield' && group.wohneinheit_count > 0 && group.wohneinheit_count === group.preorder_count) tooltipInnerClass = ' marker-label-saturated';
|
||||
else if (rimoType === 'greenfield' && group.preorder_count > 0) tooltipInnerClass = ' marker-label-highlight';
|
||||
else if (group.preorder_count > group.wohneinheit_count && group.wohneinheit_count > 0) tooltipInnerClass = ' marker-label-highlight';
|
||||
return {
|
||||
lat: group.gps_lat, lng: group.gps_long, rimoType, hausnummerId: group.hausnummer_id,
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user