Skip to content

Commit 18e1e7d

Browse files
Only show update source when app is marked updateable (#4059)
1 parent fe0a00d commit 18e1e7d

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/app/scripts/_components/ScriptItems

1 file changed

+1
-1
lines changed

frontend/src/app/scripts/_components/ScriptItems/Buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function Buttons({ item }: { item: Script }) {
6464
icon: <Code className="h-4 w-4" />,
6565
text: "Install Source",
6666
},
67-
updateSourceUrl && {
67+
updateSourceUrl && item.updateable && {
6868
href: updateSourceUrl,
6969
icon: <RefreshCcw className="h-4 w-4" />,
7070
text: "Update Source",

0 commit comments

Comments
 (0)