@bildvitta/quasar-ui-asteroid 3.20.0-beta.19 → 3.20.0-beta.20

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-ui-asteroid",
3
3
  "description": "Asteroid",
4
- "version": "3.20.0-beta.19",
4
+ "version": "3.20.0-beta.20",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "./src/asteroid.js",
@@ -253,7 +253,7 @@ function useOk () {
253
253
  }
254
254
  })
255
255
 
256
- const hasOk = computed(() => typeof props.ok === 'boolean' ? props.ok : !!Object.keys(props.ok)?.length)
256
+ const hasOk = computed(() => typeof props.ok === 'boolean' ? props.ok : !!Object.keys(props.ok))
257
257
 
258
258
  // functions
259
259
  function onOk () {
@@ -286,7 +286,7 @@ function useCancel () {
286
286
  }
287
287
  })
288
288
 
289
- const hasCancel = computed(() => typeof props.cancel === 'boolean' ? props.cancel : !!Object.keys(props.cancel)?.length)
289
+ const hasCancel = computed(() => typeof props.cancel === 'boolean' ? props.cancel : !!Object.keys(props.cancel))
290
290
 
291
291
  // functions
292
292
  function onCancel () {