This commit is contained in:
@@ -227,20 +227,20 @@ export default {
|
||||
getIconColorForEvent(event) {
|
||||
switch (event) {
|
||||
case 0:
|
||||
return "red lighten-2";
|
||||
return "red";
|
||||
case 1:
|
||||
case 10:
|
||||
return "green lighten-2";
|
||||
return "green";
|
||||
//attachments all purple to distinguish when looking at object's history
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
case 11:
|
||||
return "purple lighten-2";
|
||||
return "indigo";
|
||||
case 12: //erase all data
|
||||
return "brown";
|
||||
return "deep-purple";
|
||||
default:
|
||||
return "primary lighten-2";
|
||||
return "primary";
|
||||
}
|
||||
},
|
||||
getDataFromApi() {
|
||||
@@ -452,7 +452,7 @@ function populateEventTypeList(vm) {
|
||||
},
|
||||
10: { name: vm.$ay.t("EventSeedDatabase"), icon: "fa-plus" },
|
||||
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" }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user