From 2098e1f3ff07c617e27abca886a5a5418c0dfc37 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Mon, 27 Mar 2023 15:29:31 +0300 Subject: [PATCH] UI: Refactoring --- ui-ngx/src/app/shared/components/kv-map.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/shared/components/kv-map.component.ts b/ui-ngx/src/app/shared/components/kv-map.component.ts index 6540ae0af0..abbb52e60c 100644 --- a/ui-ngx/src/app/shared/components/kv-map.component.ts +++ b/ui-ngx/src/app/shared/components/kv-map.component.ts @@ -14,7 +14,7 @@ /// limitations under the License. /// -import { Component, forwardRef, Input, OnInit } from '@angular/core'; +import { Component, forwardRef, Input, OnDestroy, OnInit } from '@angular/core'; import { AbstractControl, ControlValueAccessor, @@ -51,7 +51,7 @@ import { takeUntil } from 'rxjs/operators'; } ] }) -export class KeyValMapComponent extends PageComponent implements ControlValueAccessor, OnInit, Validator { +export class KeyValMapComponent extends PageComponent implements ControlValueAccessor, OnInit, OnDestroy, Validator { @Input() disabled: boolean;