@ditojs/admin 2.42.1 → 2.42.2

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": "@ditojs/admin",
3
- "version": "2.42.1",
3
+ "version": "2.42.2",
4
4
  "type": "module",
5
5
  "description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
@@ -89,5 +89,5 @@
89
89
  "vite": "^6.0.7"
90
90
  },
91
91
  "types": "types",
92
- "gitHead": "9cff900dd34edc92b1f57619e938f2ec7eb99f67"
92
+ "gitHead": "8fd62e4e39794833c20c1fb109c772cc6dab2ed4"
93
93
  }
@@ -320,9 +320,9 @@ export default {
320
320
 
321
321
  collapsible: getSchemaAccessor('collapsible', {
322
322
  type: Boolean,
323
- default: null, // so that `??` below can do its thing:
323
+ default: false,
324
324
  get(collapsible) {
325
- return this.isInlined && !!(collapsible ?? this.collapsed !== null)
325
+ return collapsible && this.isInlined
326
326
  }
327
327
  }),
328
328
 
@@ -38,10 +38,7 @@ export default DitoTypeComponent.register('section', {
38
38
 
39
39
  collapsible: getSchemaAccessor('collapsible', {
40
40
  type: Boolean,
41
- default: null, // so that `??` below can do its thing:
42
- get(collapsible) {
43
- return !!(collapsible ?? this.collapsed !== null)
44
- }
41
+ default: false
45
42
  }),
46
43
 
47
44
  collapsed: getSchemaAccessor('collapsed', {