Explorar o código

Swap tester marker colours

Alan Lam %!s(int64=4) %!d(string=hai) anos
pai
achega
9bc7b50552
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      public/js/app-map-overview.js

+ 3 - 3
public/js/app-map-overview.js

@@ -252,16 +252,16 @@ function loadAllAddresses() {
 			if(user.daysSinceLastTest !== null) {
 				console.log(user.daysSinceLastTest);
 				if(user.daysSinceLastTest > 90) {
-					icon = "user-grey.png";
+					icon = "user-red.png";
 				}
 				else if(user.daysSinceLastTest > 60) {
-					icon = "user-green.png";
+					icon = "user-grey.png";
 				}
 				else if(user.daysSinceLastTest > 30) {
 					icon = "user-orange.png";
 				}
 				else {
-					icon = "user-red.png";
+					icon = "user-green.png";
 				}
 			}