fix bug in tooltip that would always render 'updateable'

This commit is contained in:
Bram Suurd
2025-06-29 13:26:54 +02:00
parent 4a3b15ae0e
commit a68ebe25f2

View File

@ -39,7 +39,7 @@ export default function Tooltips({ item }: { item: Script }) {
{item.privileged && ( {item.privileged && (
<TooltipBadge variant="warning" label="Privileged" content="This script will be run in a privileged LXC" /> <TooltipBadge variant="warning" label="Privileged" content="This script will be run in a privileged LXC" />
)} )}
{(item.updateable || item.type !== "pve") && ( {item.updateable && item.type !== "pve" && (
<TooltipBadge <TooltipBadge
variant="success" variant="success"
label="Updateable" label="Updateable"