From d0a32274ffdc95e710762ceac2c6bfa2bb5f9474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 13 Mar 2023 13:45:38 +0300 Subject: [PATCH] Update LazyLoadDoc.vue --- doc/datatable/LazyLoadDoc.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/datatable/LazyLoadDoc.vue b/doc/datatable/LazyLoadDoc.vue index 137dfd41d..c71974420 100644 --- a/doc/datatable/LazyLoadDoc.vue +++ b/doc/datatable/LazyLoadDoc.vue @@ -222,7 +222,7 @@ export default { const selectAll = event.checked; if (selectAll) { - this.customerService.getCustomers().then(data => { + CustomerService.getCustomers().then(data => { this.selectAll = true; this.selectedCustomers = data.customers; }); @@ -336,10 +336,10 @@ const onFilter = () => { loadLazyData(); }; const onSelectAllChange = (event) => { - const selectAll = event.checked; + selectAll.value = event.checked; if (selectAll) { - customerService.value.getCustomers().then(data => { + CustomerService.getCustomers().then(data => { selectAll.value = true; selectedCustomers.value = data.customers; }); @@ -422,7 +422,7 @@ const onRowUnselect = () => { const selectAll = event.checked; if (selectAll) { - this.customerService.getCustomers().then((data) => { + CustomerService.getCustomers().then((data) => { this.selectAll = true; this.selectedCustomers = data.customers; });