@innertia-solutions/nuxt-theme-spark 0.1.39 → 0.1.40

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.
@@ -232,7 +232,11 @@ const loadFromCacheOnMount = async () => {
232
232
  sorting.value = cached.sorting
233
233
  columnFilters.value = cached.columnFilters
234
234
  columnVisibility.value = cached.columnVisibility
235
- if (cached.columnOrder?.length) columnOrder.value = cached.columnOrder
235
+ if (cached.columnOrder?.length) {
236
+ const order = cached.columnOrder.filter(id => id !== 'select')
237
+ if (props.checkable) order.unshift('select')
238
+ columnOrder.value = order
239
+ }
236
240
  lastDataLength.value = cached.data.length
237
241
  isDataFromCache.value = true
238
242
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innertia-solutions/nuxt-theme-spark",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Innertia Solutions — Spark theme: backoffice, landing and mobile components and layouts",
5
5
  "keywords": [
6
6
  "nuxt",