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) {
 | 
					    if (targetField) {
 | 
				
			||||||
      labelField = targetField.get('name');
 | 
					      labelField = targetField.get('name');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    const collection = await this.getCollection();
 | 
					    const collection = await this.getCollection(options);
 | 
				
			||||||
    let targetOptions:any = {
 | 
					    let targetOptions:any = {
 | 
				
			||||||
      ...types.linkTo.options,
 | 
					      ...types.linkTo.options,
 | 
				
			||||||
      interface: 'linkTo',
 | 
					      interface: 'linkTo',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user