Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

fix(file-manager): mark the built-in delete action destructive

Sergey Kozyrenko6326719ae1e4
diff --git a/frontend/src/components/shared/file-manager/file-manager-actions.tsx b/frontend/src/components/shared/file-manager/file-manager-actions.tsx
index 5dcf67ea..7dc17dca 100644
--- a/frontend/src/components/shared/file-manager/file-manager-actions.tsx
+++ b/frontend/src/components/shared/file-manager/file-manager-actions.tsx
@@ -45,6 +45,7 @@ export const deleteAction = (onDelete: (file: FileNode) => void): FileManagerAct
label: 'Delete',
onSelect: onDelete,
separatorBefore: true,
+ variant: 'destructive',
});
interface BulkDeleteOptions {