@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.96 → 2.4.2-dev.97

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Site.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.4.2-dev.96",
3
+ "version": "2.4.2-dev.97",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/Site.js CHANGED
@@ -276,7 +276,9 @@ export default class Site extends GeocodableMixin(FireModel) {
276
276
  configurable: true,
277
277
  enumerable: true,
278
278
  get() {
279
- return this.constructionPeriodStartAt || this.constructionPeriodEndAt;
279
+ return (
280
+ !!this.constructionPeriodStartAt || !!this.constructionPeriodEndAt
281
+ );
280
282
  },
281
283
  set() {},
282
284
  },