fix: get collection with transaction
This commit is contained in:
		
							parent
							
								
									ef7cc13ae1
								
							
						
					
					
						commit
						1dbfe14379
					
				@ -103,7 +103,7 @@ export class FieldModel extends BaseModel {
 | 
			
		||||
    if (targetField) {
 | 
			
		||||
      labelField = targetField.get('name');
 | 
			
		||||
    }
 | 
			
		||||
    const collection = await this.getCollection();
 | 
			
		||||
    const collection = await this.getCollection(options);
 | 
			
		||||
    let targetOptions:any = {
 | 
			
		||||
      ...types.linkTo.options,
 | 
			
		||||
      interface: 'linkTo',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user