mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
0897d372a6
commit
dead0087f4
@@ -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')
|
||||
|
Reference in New Issue
Block a user