vcomply-workflow-engine 6.0.97 → 6.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45510,11 +45510,8 @@ class WorkflowProgramComponent {
|
|
|
45510
45510
|
}
|
|
45511
45511
|
refreshList() {
|
|
45512
45512
|
let selectedOwner = this.controls?.program_owners?.value?.map((ele) => ele.member_id);
|
|
45513
|
-
let disableCollaborator = this.lists?.COLLABORATORS?.data?.filter((user) => selectedOwner?.includes(user?.member_id));
|
|
45514
45513
|
const selectedCollaborator = this.controls?.program_collaborator?.value?.filter((ele) => !selectedOwner.includes(ele.member_id));
|
|
45515
|
-
|
|
45516
|
-
this.disableCollaboratorIds = this.returnIds(disableCollaborator, 'member_id') ?? [];
|
|
45517
|
-
this.setFormField('program_collaborator', selectedCollaborator);
|
|
45514
|
+
this.listAction({ users: selectedCollaborator }, 'COLLABORATOR');
|
|
45518
45515
|
}
|
|
45519
45516
|
removeRole(evt) {
|
|
45520
45517
|
this.onRemovingRole.emit(evt);
|
|
@@ -45661,8 +45658,8 @@ class WorkflowProgramComponent {
|
|
|
45661
45658
|
this.setFormField('program_roles', defaultVal);
|
|
45662
45659
|
this.fetchUsersAssociatedWithRoles();
|
|
45663
45660
|
this.fetchGroupsAssociatedWithRoles();
|
|
45664
|
-
this.fetchUserWithManageProgramsRole();
|
|
45665
45661
|
}
|
|
45662
|
+
this.fetchUserWithManageProgramsRole();
|
|
45666
45663
|
},
|
|
45667
45664
|
error: (err) => { },
|
|
45668
45665
|
});
|
|
@@ -46197,6 +46194,7 @@ class WorkflowProgramComponent {
|
|
|
46197
46194
|
this.additionalOption.COLLABORATOR = true;
|
|
46198
46195
|
}
|
|
46199
46196
|
this.populateOptionalFields();
|
|
46197
|
+
this.refreshList();
|
|
46200
46198
|
}
|
|
46201
46199
|
}
|
|
46202
46200
|
},
|