mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
reinstated select multiple behavior
This commit is contained in:
@@ -33,7 +33,7 @@ export abstract class EquatableObject<T> {
|
||||
return true;
|
||||
}
|
||||
const excludedKeys = getExcludedFromEqualsFor(this.constructor);
|
||||
const keys = Object.keys(this).filter((key) => excludedKeys.findIndex((excludedKey) => key === excludedKey) < 0);
|
||||
const keys = Object.keys(this).filter((key) => !excludedKeys.includes(key));
|
||||
return equalsByFields(this, other, keys);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user