@d-mok/quasar-app-extension-quasar-axe 4.0.5 → 4.0.7
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
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<q-separator />
|
|
45
45
|
<q-list separator>
|
|
46
46
|
<qx-menu-item
|
|
47
|
-
v-for="item in items"
|
|
47
|
+
v-for="item in items.filter($ => $.title !== undefined)"
|
|
48
48
|
:key="item.title"
|
|
49
49
|
v-bind="item"
|
|
50
50
|
/>
|
|
@@ -106,7 +106,7 @@ import { computed, ref } from 'vue'
|
|
|
106
106
|
import { useRoute } from 'vue-router'
|
|
107
107
|
|
|
108
108
|
type item = {
|
|
109
|
-
title
|
|
109
|
+
title?: string
|
|
110
110
|
caption?: string
|
|
111
111
|
icon?: string
|
|
112
112
|
link: string
|
|
@@ -35,11 +35,11 @@ export function ORM<
|
|
|
35
35
|
row: Partial<R>,
|
|
36
36
|
options?: uiOptions
|
|
37
37
|
): Promise<void> {
|
|
38
|
-
this._hostTable!.update(this[idKey], row, options)
|
|
38
|
+
await this._hostTable!.update(this[idKey], row, options)
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
async delete(this: E & R, options?: uiOptions): Promise<void> {
|
|
42
|
-
this._hostTable!.delete(this[idKey], options)
|
|
42
|
+
await this._hostTable!.delete(this[idKey], options)
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
async toggle(
|
|
@@ -49,7 +49,7 @@ export function ORM<
|
|
|
49
49
|
): Promise<void> {
|
|
50
50
|
const val = !this[key]
|
|
51
51
|
const obj = { [key]: val } as Partial<R>
|
|
52
|
-
this._hostTable!.update(this[idKey], obj, options)
|
|
52
|
+
await this._hostTable!.update(this[idKey], obj, options)
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
toPlain(): R {
|