@xh/hoist 79.0.0-SNAPSHOT.1764115912360 → 79.0.0-SNAPSHOT.1764345478420

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/data/Store.ts CHANGED
@@ -763,7 +763,10 @@ export class Store extends HoistBase {
763
763
  /** True if the store has changes which need to be committed. */
764
764
  @computed
765
765
  get isDirty(): boolean {
766
- return this._current !== this._committed || this.summaryRecords?.some(it => it.isModified);
766
+ return (
767
+ this._current !== this._committed ||
768
+ (this.summaryRecords?.some(it => it.isModified) ?? false)
769
+ );
767
770
  }
768
771
 
769
772
  /** Alias for {@link Store.isDirty} */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "79.0.0-SNAPSHOT.1764115912360",
3
+ "version": "79.0.0-SNAPSHOT.1764345478420",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",