@d-mok/quasar-app-extension-quasar-axe 2.1.81 → 2.1.83

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": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "2.1.81",
3
+ "version": "2.1.83",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "lodash": "^4.17.21",
28
28
  "mime-types": "^2.1.35",
29
29
  "papaparse": "^5.4.1",
30
- "sapphire-js": "^2.1.4",
30
+ "sapphire-js": "^2.1.5",
31
31
  "sortablejs": "^1.15.0",
32
32
  "vuedraggable": "^4.1.0"
33
33
  },
@@ -145,7 +145,13 @@ export function TABLE<
145
145
 
146
146
  update(idVal: R[ClassT['_idKey']], row: Partial<R>) {
147
147
  let callback = ($: T[]) => {
148
- this.merge($, idKey)
148
+ let oldie = this.find($ => $[idKey] === idVal)
149
+ if (oldie !== undefined) {
150
+ for (let newbie of $) {
151
+ Object.assign(oldie, newbie)
152
+ }
153
+ }
154
+ // this.merge($, idKey)
149
155
  this.onChange()
150
156
  this.onEdit()
151
157
  }