mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ADF-1712] The <adf-task-header component displays a Requeue button for none pooled tasks. (#2637)
* Changed method name.
This commit is contained in:
parent
8e41c4950f
commit
1021cba9fc
@ -52,7 +52,7 @@ export class TaskHeaderComponent implements OnChanges, OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.getCurrentUserId();
|
this.loadCurrentBpmUserId();
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnChanges(changes: SimpleChanges) {
|
ngOnChanges(changes: SimpleChanges) {
|
||||||
@ -158,9 +158,9 @@ export class TaskHeaderComponent implements OnChanges, OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the bpmUser
|
* Loads current bpm userId
|
||||||
*/
|
*/
|
||||||
private getCurrentUserId(): void {
|
private loadCurrentBpmUserId(): void {
|
||||||
this.bpmUserService.getCurrentUserInfo().subscribe((res) => {
|
this.bpmUserService.getCurrentUserInfo().subscribe((res) => {
|
||||||
this.currentUserId = res ? +res.id : null;
|
this.currentUserId = res ? +res.id : null;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user