@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tech4good/angular-schematics",
3
- "version": "17.0.3",
3
+ "version": "17.0.4",
4
4
  "description": "A set of schematics for generating modules, containers, components, and entities",
5
5
  "scripts": {
6
6
  "build": "tsc -p tsconfig.json",
@@ -56,6 +56,6 @@
56
56
  "karma-coverage": "~2.2.0",
57
57
  "karma-jasmine": "~5.1.0",
58
58
  "karma-jasmine-html-reporter": "~2.1.0",
59
- "typescript": "~5.4.2"
59
+ "typescript": "~5.2.0"
60
60
  }
61
61
  }
@@ -46,7 +46,7 @@ export class WaitlistComponent implements OnInit, OnDestroy {
46
46
  return 0;
47
47
  }
48
48
  });
49
-
49
+
50
50
  /** Columns to display in the table */
51
51
  displayedColumns = ['userName', 'accessState'];
52
52
 
@@ -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(