mirror of
				https://github.com/jumpserver/jumpserver.git
				synced 2025-11-03 23:47:27 +00:00 
			
		
		
		
	perf: 修改应用授权树,没有的时候不显示
This commit is contained in:
		@@ -32,6 +32,8 @@ class SerializeApplicationToTreeNodeMixin:
 | 
			
		||||
        return node
 | 
			
		||||
 | 
			
		||||
    def serialize_applications_with_org(self, applications):
 | 
			
		||||
        if not applications:
 | 
			
		||||
            return []
 | 
			
		||||
        root_node = self.create_root_node()
 | 
			
		||||
        tree_nodes = [root_node]
 | 
			
		||||
        organizations = self.filter_organizations(applications)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user