Remove criticity on assets

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-10-13 22:06:49 +02:00
parent 344b340d1a
commit f808a90bba
22 changed files with 71 additions and 409 deletions

View File

@@ -8,16 +8,3 @@ export const getAssetTypeVariant = (type: string) => {
return "neutral";
}
};
export const getCriticityVariant = (criticity: string) => {
switch (criticity) {
case "HIGH":
return "danger";
case "MEDIUM":
return "warning";
case "LOW":
return "neutral";
default:
return "neutral";
}
};

View File

@@ -21,7 +21,7 @@ export {
} from "./countries";
export { availableFrameworks } from "./frameworks";
export { getDocumentTypeLabel, documentTypes } from "./documents";
export { getAssetTypeVariant, getCriticityVariant } from "./assets";
export { getAssetTypeVariant } from "./assets";
export {
getSnapshotTypeLabel,
getSnapshotTypeUrlPath,