@@ -700,6 +703,7 @@ function AutoHealTab({ stackName, open }: { stackName: string; open: boolean })
+ )}
>
);
}
@@ -710,9 +714,10 @@ interface PolicyRowProps {
onToggle: (id: number, enabled: boolean) => void;
deleting: boolean;
saving: boolean;
+ isAdmin: boolean;
}
-function PolicyRow({ policy, onDelete, onToggle, deleting, saving }: PolicyRowProps) {
+function PolicyRow({ policy, onDelete, onToggle, deleting, saving, isAdmin }: PolicyRowProps) {
const [historyOpen, setHistoryOpen] = useState(false);
const [history, setHistory] = useState
([]);
const [loadingHistory, setLoadingHistory] = useState(false);
@@ -760,12 +765,14 @@ function PolicyRow({ policy, onDelete, onToggle, deleting, saving }: PolicyRowPr
)}