From 1c0e11d0e8221eedbc86577501d5fd40d4890d7e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Feb 2020 11:34:03 +0000 Subject: USECASEUI-388 fixed and with additional changes Fixed i18Resource, subtittle wrap and directive folder Path. Alos added few changes for adapting multiple templates. Change-Id: Ie64485d24d11bcfd59be6c3c119dbccbc6c9b499 Issue-ID: USECASEUI-388 Signed-off-by: root --- .../src/app/Directives/disable-control.directive.ts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 usecaseui-portal/src/app/Directives/disable-control.directive.ts (limited to 'usecaseui-portal/src/app/Directives/disable-control.directive.ts') diff --git a/usecaseui-portal/src/app/Directives/disable-control.directive.ts b/usecaseui-portal/src/app/Directives/disable-control.directive.ts deleted file mode 100644 index 85495401..00000000 --- a/usecaseui-portal/src/app/Directives/disable-control.directive.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Directive, Input } from '@angular/core'; -import { NgControl } from '@angular/forms'; - -@Directive({ - selector: '[disableControl]' -}) -export class DisableControlDirective { - - @Input() - set disableControl(condition: boolean) { - const action = condition ? 'enable' : 'disable'; - this.ngControl.control[action](); - } - - constructor(private ngControl: NgControl) { - } -} \ No newline at end of file -- cgit