From f07bc18f79158408d9711b462f5bcecb80ff60aa Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 13 Jul 2022 11:13:21 +0300 Subject: [PATCH] UI: Delete unused function in the-queue-autocomplete --- .../components/queue/queue-autocomplete.component.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ui-ngx/src/app/shared/components/queue/queue-autocomplete.component.ts b/ui-ngx/src/app/shared/components/queue/queue-autocomplete.component.ts index 897e041649..091af91cd8 100644 --- a/ui-ngx/src/app/shared/components/queue/queue-autocomplete.component.ts +++ b/ui-ngx/src/app/shared/components/queue/queue-autocomplete.component.ts @@ -123,15 +123,6 @@ export class QueueAutocompleteComponent implements ControlValueAccessor, OnInit ngAfterViewInit(): void {} - getCurrentEntity(): BaseData | null { - const currentRuleChain = this.selectQueueFormGroup.get('queueId').value; - if (currentRuleChain && typeof currentRuleChain !== 'string') { - return currentRuleChain as BaseData; - } else { - return null; - } - } - setDisabledState(isDisabled: boolean): void { this.disabled = isDisabled; if (this.disabled) {