mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-28 10:10:20 +00:00
Only show update source when app is marked updateable (#4059)
This commit is contained in:
parent
fe0a00d02d
commit
18e1e7d0b9
@ -64,7 +64,7 @@ export default function Buttons({ item }: { item: Script }) {
|
|||||||
icon: <Code className="h-4 w-4" />,
|
icon: <Code className="h-4 w-4" />,
|
||||||
text: "Install Source",
|
text: "Install Source",
|
||||||
},
|
},
|
||||||
updateSourceUrl && {
|
updateSourceUrl && item.updateable && {
|
||||||
href: updateSourceUrl,
|
href: updateSourceUrl,
|
||||||
icon: <RefreshCcw className="h-4 w-4" />,
|
icon: <RefreshCcw className="h-4 w-4" />,
|
||||||
text: "Update Source",
|
text: "Update Source",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user