UI: Delete unused function in the-queue-autocomplete

This commit is contained in:
Vladyslav_Prykhodko 2022-07-13 11:13:21 +03:00
parent 113bfa9d05
commit f07bc18f79

View File

@ -123,15 +123,6 @@ export class QueueAutocompleteComponent implements ControlValueAccessor, OnInit
ngAfterViewInit(): void {}
getCurrentEntity(): BaseData<EntityId> | null {
const currentRuleChain = this.selectQueueFormGroup.get('queueId').value;
if (currentRuleChain && typeof currentRuleChain !== 'string') {
return currentRuleChain as BaseData<EntityId>;
} else {
return null;
}
}
setDisabledState(isDisabled: boolean): void {
this.disabled = isDisabled;
if (this.disabled) {