mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Only show update source when app is marked updateable (#4059)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							fe0a00d02d
						
					
				
				
					commit
					18e1e7d0b9
				
			@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user