mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	ui: don't ignore project when listing templates (#3233)
Problem: When uploading template or iso in a project, the progress is not seen Root Cause: When users upload a template/iso in project view, the template/iso is not visible in the all filter. This creates confusion that template/iso has not been uploaded. Solution: Since the api listtemplates with a projectid acts is a superset of list templates without a project id, we should not ignore the project id when listing templates in all filter.
This commit is contained in:
		
							parent
							
								
									ac6c84ec25
								
							
						
					
					
						commit
						1af5dedfb1
					
				@ -1038,7 +1038,6 @@
 | 
			
		||||
                                }
 | 
			
		||||
                                switch (args.filterBy.kind) {
 | 
			
		||||
                                    case "all":
 | 
			
		||||
                                        ignoreProject = true;
 | 
			
		||||
                                        $.extend(data, {
 | 
			
		||||
                                            templatefilter: 'all'
 | 
			
		||||
                                        });
 | 
			
		||||
@ -2383,7 +2382,6 @@
 | 
			
		||||
                                }
 | 
			
		||||
                                switch (args.filterBy.kind) {
 | 
			
		||||
                                    case "all":
 | 
			
		||||
                                        ignoreProject = true;
 | 
			
		||||
                                        $.extend(data, {
 | 
			
		||||
                                            isofilter: 'all'
 | 
			
		||||
                                        });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user