src/components/PIMTable/PIMTable.vue
@@ -367,11 +367,11 @@ return format(val); } else return val; }; const validTagTypes = ["primary", "success", "info", "warning", "danger"]; const formatType = (val, format) => { if (typeof format === "function") { return format(val); } else return ""; const type = typeof format === "function" ? format(val) : undefined; return validTagTypes.includes(type) ? type : undefined; }; const isOperationDisabled = (operation, row) => {