[AAE-1022] Fix components to work on Community environments (#5296)

* [AAE-1022] Fix components to work on Community environments

* Remove appName input
This commit is contained in:
davidcanonieto
2019-12-18 17:33:50 +00:00
committed by Eugenio Romano
parent 0897d372a6
commit dead0087f4
37 changed files with 70 additions and 87 deletions

View File

@@ -29,7 +29,7 @@ export class CompleteTaskDirective implements OnInit {
/** (Required) The name of the application. */
@Input()
appName: string;
appName: string = '';
/** Emitted when the task is completed. */
@Output()
@@ -65,7 +65,7 @@ export class CompleteTaskDirective implements OnInit {
}
isAppValid(): boolean {
return (this.appName && this.appName.length > 0);
return !!this.appName || this.appName === '';
}
@HostListener('click')