mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix preselect user check (#5420)
This commit is contained in:
@@ -470,7 +470,7 @@ export class PeopleCloudComponent implements OnInit, OnChanges, OnDestroy {
|
||||
}
|
||||
|
||||
private hasPreselectedUsersCleared(changes): boolean {
|
||||
return changes && changes.preSelectUsers && changes.preSelectUsers.currentValue.length === 0;
|
||||
return changes && changes.preSelectUsers && changes.preSelectUsers.currentValue && changes.preSelectUsers.currentValue.length === 0;
|
||||
}
|
||||
|
||||
private resetSearchUsers() {
|
||||
|
Reference in New Issue
Block a user