This commit is contained in:
2020-04-28 23:01:30 +00:00
parent a933c7ff47
commit 65f7d709ec

View File

@@ -227,20 +227,20 @@ export default {
getIconColorForEvent(event) { getIconColorForEvent(event) {
switch (event) { switch (event) {
case 0: case 0:
return "red lighten-2"; return "red";
case 1: case 1:
case 10: case 10:
return "green lighten-2"; return "green";
//attachments all purple to distinguish when looking at object's history //attachments all purple to distinguish when looking at object's history
case 4: case 4:
case 5: case 5:
case 6: case 6:
case 11: case 11:
return "purple lighten-2"; return "indigo";
case 12: //erase all data case 12: //erase all data
return "brown"; return "deep-purple";
default: default:
return "primary lighten-2"; return "primary";
} }
}, },
getDataFromApi() { getDataFromApi() {
@@ -452,7 +452,7 @@ function populateEventTypeList(vm) {
}, },
10: { name: vm.$ay.t("EventSeedDatabase"), icon: "fa-plus" }, 10: { name: vm.$ay.t("EventSeedDatabase"), icon: "fa-plus" },
11: { name: vm.$ay.t("EventAttachmentModified"), icon: "fa-save" }, 11: { name: vm.$ay.t("EventAttachmentModified"), icon: "fa-save" },
12: { name: "ERASE ALL DATA", icon: "fa-egg" } 12: { name: "ERASE ALL DATA", icon: "fa-seedling" }
}; };
} }