@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.7 → 2.4.2-dev.9

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 +2 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.4.2-dev.7",
3
+ "version": "2.4.2-dev.9",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/Site.js CHANGED
@@ -52,11 +52,7 @@ const classProps = {
52
52
  },
53
53
  component: {
54
54
  attrs: {
55
- rules: [
56
- (value) =>
57
- (value && value.length >= 2) ||
58
- "取引先名を2文字以上で入力してください。",
59
- ],
55
+ minLength: 2,
60
56
  },
61
57
  },
62
58
  }),
@@ -248,7 +244,7 @@ export default class Site extends GeocodableMixin(FireModel) {
248
244
  configurable: true,
249
245
  enumerable: true,
250
246
  get() {
251
- return !!this.customerId;
247
+ return !this.customerId;
252
248
  },
253
249
  set() {},
254
250
  },