fix(client): fix action designer error occured in custom form (#3801)
* fix(client): fix action designer error occured in custom form * fix(client): fix from the source
This commit is contained in:
		
							parent
							
								
									0d2ed3f8a0
								
							
						
					
					
						commit
						e82a33f1f7
					
				@ -108,7 +108,7 @@ export const useCollectionManager_deprecated = (dataSourceName?: string) => {
 | 
			
		||||
      if (!name) return [];
 | 
			
		||||
      const collection = getCm(customDataSource)?.getCollection<InheritanceCollectionMixin>(name);
 | 
			
		||||
      const res = collection?.getChildrenCollections(isSupportView);
 | 
			
		||||
      return res;
 | 
			
		||||
      return res || [];
 | 
			
		||||
    },
 | 
			
		||||
    [dm, getCm],
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user