@tech4good/angular-schematics 17.0.3 → 17.0.4
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.
package/package.json
CHANGED
|
@@ -120,8 +120,7 @@ export class UserEffects {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
actionsOnUpdate(action: UpdateUser): Observable<Action> {
|
|
123
|
-
|
|
124
|
-
if (action.changes.hasOwnProperty('accessState')) {
|
|
123
|
+
if (Object.prototype.hasOwnProperty.call(action.changes, 'accessState')) {
|
|
125
124
|
// TODO: inefficient since we're querying all users. replace with count query
|
|
126
125
|
// once added to library
|
|
127
126
|
return this.db.queryListOnce('users', [['accessState', '==', AccessState.WAITING]]).pipe(
|