@mixd-id/web-scaffold 0.1.230406259 → 0.1.230406260

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": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406259",
4
+ "version": "0.1.230406260",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -196,10 +196,12 @@ export default{
196
196
 
197
197
  const columnKey = yAxe.key
198
198
  const column = this.config.columns.find(column => column.key === columnKey)
199
- switch (column.type) {
200
- case 'enum':
201
- label = column.typeParams.find(_ => `${_.value}` === `${value}`)?.text ?? label
202
- break
199
+ if(column){
200
+ switch (column.type) {
201
+ case 'enum':
202
+ label = column.typeParams.find(_ => `${_.value}` === `${value}`)?.text ?? label
203
+ break
204
+ }
203
205
  }
204
206
 
205
207
  datasets.push({
@@ -344,7 +344,7 @@ export default{
344
344
  id: items.map(item => item.id)
345
345
  })
346
346
  .then(({ items:nextItems }) => {
347
- nextItems.forEach(item => this.$util.unshift(this.data.items, item))
347
+ nextItems.forEach(item => this.$util.unshift(this.data.items, item, { highlight: true }))
348
348
  const destroyedItems = items.filter(_ => !nextItems.find(i => i.id === _.id))
349
349
  this.$util.remove(this.data.items, destroyedItems)
350
350
  })