Răsfoiți Sursa

Swap tester marker colours

Alan Lam 4 ani în urmă
părinte
comite
9bc7b50552
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  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";
 				}
 			}