1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-27 18:30:17 +00:00

Only show update source when app is marked updateable (#4059)

This commit is contained in:
Michel Roegl-Brunner 2025-04-25 15:12:12 +02:00 committed by GitHub
parent fe0a00d02d
commit 18e1e7d0b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ export default function Buttons({ item }: { item: Script }) {
icon: <Code className="h-4 w-4" />,
text: "Install Source",
},
updateSourceUrl && {
updateSourceUrl && item.updateable && {
href: updateSourceUrl,
icon: <RefreshCcw className="h-4 w-4" />,
text: "Update Source",