UI: Fixed bug dublicate alias when create alias in alias-select.component
This commit is contained in:
		
							parent
							
								
									85ae3ed778
								
							
						
					
					
						commit
						1a01cba35f
					
				@ -251,7 +251,6 @@ export class EntityAliasSelectComponent implements ControlValueAccessor, OnInit,
 | 
				
			|||||||
              }, 0);
 | 
					              }, 0);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          } else {
 | 
					          } else {
 | 
				
			||||||
            this.entityAliasList.push(newAlias);
 | 
					 | 
				
			||||||
            this.modelValue = newAlias.id;
 | 
					            this.modelValue = newAlias.id;
 | 
				
			||||||
            this.selectEntityAliasFormGroup.get('entityAlias').patchValue(newAlias, {emitEvent: true});
 | 
					            this.selectEntityAliasFormGroup.get('entityAlias').patchValue(newAlias, {emitEvent: true});
 | 
				
			||||||
            this.propagateChange(this.modelValue);
 | 
					            this.propagateChange(this.modelValue);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user