adminforth 1.2.20 → 1.2.21

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.
@@ -311,12 +311,12 @@ async function selectAll(value) {
311
311
  checkboxesInternal.value.push(r.id)
312
312
  }
313
313
  });
314
- }
315
- else {
314
+ } else {
316
315
  props.rows.forEach((r) => {
317
316
  checkboxesInternal.value = checkboxesInternal.value.filter((item) => item !== r.id);
318
317
  });
319
318
  }
319
+ checkboxesInternal.value = [ ...checkboxesInternal.value ];
320
320
  }
321
321
 
322
322
  const totalPages = computed(() => Math.ceil(props.totalRows / props.pageSize));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -311,12 +311,12 @@ async function selectAll(value) {
311
311
  checkboxesInternal.value.push(r.id)
312
312
  }
313
313
  });
314
- }
315
- else {
314
+ } else {
316
315
  props.rows.forEach((r) => {
317
316
  checkboxesInternal.value = checkboxesInternal.value.filter((item) => item !== r.id);
318
317
  });
319
318
  }
319
+ checkboxesInternal.value = [ ...checkboxesInternal.value ];
320
320
  }
321
321
 
322
322
  const totalPages = computed(() => Math.ceil(props.totalRows / props.pageSize));