mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4127] ProcessServicesCloud - add claim/unclaim directive (#4464)
* [ADF-4127] ProessServicesCloud - claim task directive * [ADF-4127] - fix doc * [ADF-4127] - revert docs changes * [ADF-4127] - revert doc changes * [ADF-4127] - fix doc and reset sourceLinker.js * [ADF-4127] - refractor task-cloud.service. add validation for claim/unclaim and fix unit tests * [ADF-4127] - fix docs files * [ADF-4127[ - add aditional complete task validation * [ADF-4127] - PR changes * [ADF-4127] - complete docs file * [ADF-4127] - more PR changes * [ADF-4127] - change Unclaim task name and wait for task to be claimed and unclaimed before emit the success event * [ADF-4127] - fix unit tests
This commit is contained in:
committed by
Maurizio Vitale
parent
0b1e5d31d8
commit
31658c0974
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { Directive, Input, HostListener, Output, EventEmitter, OnInit } from '@angular/core';
|
||||
import { TaskCloudService } from '../task-header/services/task-cloud.service';
|
||||
import { TaskCloudService } from '../services/task-cloud.service';
|
||||
|
||||
@Directive({
|
||||
selector: '[adf-cloud-complete-task]'
|
||||
@@ -59,11 +59,11 @@ export class CompleteTaskDirective implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
isTaskValid() {
|
||||
isTaskValid(): boolean {
|
||||
return this.taskId && this.taskId.length > 0;
|
||||
}
|
||||
|
||||
isAppValid() {
|
||||
isAppValid(): boolean {
|
||||
return this.appName && this.appName.length > 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user