diff --git a/js/modules/table.js b/js/modules/table.js index 4f9136b..c7da170 100644 --- a/js/modules/table.js +++ b/js/modules/table.js @@ -171,10 +171,10 @@ var tableModule = (function(window, $) { incidentJson[i].resolution.includes("ARREST")): incidentJson[i].cscategory = "WEAPONS POSSESSION"; break; + default: + incidentJson[i].cscategory = "NONE"; + break; } - if (incidentJson[i].cscategory === ""){ - incidentJson[i].cscategory = "NONE"; - } } return incidentJson; }