fix(ui): подтверждать удаление объектов Firewall

This commit is contained in:
Denozordec committed 2026-09-30 10:07:07 +07:00
1 parent 0c460d4767
commit 14a9e6d26c
6 files changed
+154 -38

No files matched your search

@@ -304,7 +304,7 @@ function FirewallRulesDataGrid({
{r.enabled ? "Отключить" : "Включить"}
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem variant="destructive" onClick={() => onDelete?.(r)}>
<DropdownMenuItem disabled={mutationsDisabled} variant="destructive" onClick={() => onDelete?.(r)}>
<Trash2Icon className="size-4" />
Удалить правило
</DropdownMenuItem>