mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CLOUDSTACK-5345: UI > Infrastructure > virtual routers > no grouping > hide Upgrade Router to Use Newer Template action when a router has latest version (i.e. does not require upgrade).
This commit is contained in:
		
							parent
							
								
									523d9dc3c0
								
							
						
					
					
						commit
						d5fcc6ef5a
					
				| @ -18632,7 +18632,9 @@ | ||||
|         var jsonObj = args.context.item; | ||||
|         var allowedActions = []; | ||||
| 
 | ||||
|         if(jsonObj.requiresupgrade == true) { | ||||
|             allowedActions.push('upgradeRouterToUseNewerTemplate'); | ||||
|         } | ||||
|          | ||||
|         if (jsonObj.state == 'Running') { | ||||
|             allowedActions.push("stop"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user