fix bug in tooltip that would always render 'updateable' (#5552)

* fix bug in tooltip that would always render 'updateable'

* Remove double InstallCommand component from ScriptItems
This commit is contained in:
Bram Suurd
2025-06-29 14:00:01 +02:00
committed by GitHub
parent 4a3b15ae0e
commit f605085021
2 changed files with 1 additions and 149 deletions

View File

@@ -39,7 +39,7 @@ export default function Tooltips({ item }: { item: Script }) {
{item.privileged && (
<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
variant="success"
label="Updateable"