소스 검색

Swap tester marker colours

Alan Lam 4 년 전
부모
커밋
9bc7b50552
1개의 변경된 파일과 3개의 추가작업 그리고 3개의 파일을 삭제
  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";
 				}
 			}