Skip to content

Commit

Permalink
fix: set grey outline on hover for < 1 AB#25833
Browse files Browse the repository at this point in the history
  • Loading branch information
arsforza committed Jan 22, 2024
1 parent eb0e630 commit 1f75b79
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions interfaces/IBF-dashboard/src/app/services/map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,11 @@ export class MapService {
color: this.stoppedTriggerColor,
weight: 5,
};
} else if (!area.triggerValue || area.triggerValue < 1) {
return {
color: this.nonTriggeredAreaColor,
weight: 5,
};
} else if (!this.eventState?.event?.thresholdReached) {
return {
color: this.nonTriggeredAreaColor,
Expand Down

0 comments on commit 1f75b79

Please sign in to comment.