Skip to content

Commit

Permalink
Merge pull request #5 from UI-Research/RPW5C-82/fix-color-coding-on-map
Browse files Browse the repository at this point in the history
Fix color code for grantee
  • Loading branch information
Farnoosh63 authored Sep 4, 2020
2 parents decace7 + 114de1d commit 08b5a0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ class App extends Component {
el.classList.add('challenge-'+ marker.properties.challengeTypeId);
// set color based on challenge type.
if (marker.properties.challengeTypeId === '1') {
el.style.backgroundColor = '#1696d2';
el.style.backgroundColor = '#fdbf11';
}
else if (marker.properties.challengeTypeId === '2') {
el.style.backgroundColor = '#fdbf11';
el.style.backgroundColor = '#1696d2';
} else {
el.style.backgroundColor = '#55B748';
}
Expand Down

0 comments on commit 08b5a0e

Please sign in to comment.