diff --git a/src/views/datatable/DataTableDoc.vue b/src/views/datatable/DataTableDoc.vue index 35cb1f640..dce764cb6 100644 --- a/src/views/datatable/DataTableDoc.vue +++ b/src/views/datatable/DataTableDoc.vue @@ -849,7 +849,7 @@ export default { }, calculateGroupTotal(brand) { let total = 0; - + if (this.cars) { for (let car of this.cars) { if (car.brand === brand) { diff --git a/src/views/datatable/DataTableRowGroupDemo.vue b/src/views/datatable/DataTableRowGroupDemo.vue index 0456d465a..e44820a9a 100644 --- a/src/views/datatable/DataTableRowGroupDemo.vue +++ b/src/views/datatable/DataTableRowGroupDemo.vue @@ -146,7 +146,7 @@ export default { }, calculateGroupTotal(brand) { let total = 0; - + if (this.cars) { for (let car of this.cars) { if (car.brand === brand) { @@ -193,7 +193,7 @@ export default { }, calculateGroupTotal(brand) { let total = 0; - + if (this.cars) { for (let car of this.cars) { if (car.brand === brand) {