fix: areAllChecksMarked

This commit is contained in:
Alex Moreno 2024-07-08 13:51:56 +02:00
parent 4a8493f035
commit dd872dba3b
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ const initialUserConfigViewData = ref();
const localColumns = ref([]); const localColumns = ref([]);
const areAllChecksMarked = computed(() => { const areAllChecksMarked = computed(() => {
return columns.value.every((col) => col.visible); return localColumns.value.every((col) => col.visible);
}); });
function setUserConfigViewData(data, isLocal) { function setUserConfigViewData(data, isLocal) {
@ -38,7 +38,7 @@ function setUserConfigViewData(data, isLocal) {
} }
function toggleMarkAll(val) { function toggleMarkAll(val) {
columns.value.forEach((col) => (col.visible = val)); localColumns.value.forEach((col) => (col.visible = val));
} }
async function getConfig(url, filter) { async function getConfig(url, filter) {