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

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",