feat(fleet): add permanent delete option to FleetRecordActions

This commit is contained in:
Marshal
2026-08-05 20:05:05 +00:00
parent 1a37b62f24
commit 1b5f364294
2 changed files with 47 additions and 7 deletions

View File

@@ -126,6 +126,15 @@ const FleetRecordActions = ({
{removeLabel}
</MenuItem>
) : null}
{onPurge ? (
<MenuItem
color="red"
onClick={() => onPurge(record)}
leftSection={<ShieldAlert size={14} strokeWidth={2} />}
>
Delete permanently
</MenuItem>
) : null}
</Menu.Dropdown>
</Menu>
);