From 048b8d267a9295fa72a702fa0ab1fc4b6391d48b 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: Fri, 17 Mar 2023 12:02:08 +0300 Subject: [PATCH] DataTable demo updates --- doc/datatable/colresize/ExpandModeDoc.vue | 6 +++--- doc/datatable/colresize/FitModeDoc.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/datatable/colresize/ExpandModeDoc.vue b/doc/datatable/colresize/ExpandModeDoc.vue index 3ae7ac407..cbe024405 100644 --- a/doc/datatable/colresize/ExpandModeDoc.vue +++ b/doc/datatable/colresize/ExpandModeDoc.vue @@ -50,7 +50,7 @@ export default { }; }, mounted() { - ProductService.getProductsSmall().then((data) => (this.products = data)); + ProductService.getProductsMini().then((data) => (this.products = data)); } }; <\/script>`, @@ -71,7 +71,7 @@ import { ref, onMounted } from 'vue'; import { ProductService } from '@/service/ProductService'; onMounted(() => { - productService.value.getProductsSmall().then(data => products.value = data); + productService.value.getProductsMini().then(data => products.value = data); }); const products = ref(); @@ -94,7 +94,7 @@ const products = ref(); }; }, mounted() { - ProductService.getProductsSmall().then((data) => (this.products = data)); + ProductService.getProductsMini().then((data) => (this.products = data)); } }; diff --git a/doc/datatable/colresize/FitModeDoc.vue b/doc/datatable/colresize/FitModeDoc.vue index 64f1251c8..587c87867 100644 --- a/doc/datatable/colresize/FitModeDoc.vue +++ b/doc/datatable/colresize/FitModeDoc.vue @@ -53,7 +53,7 @@ export default { }; }, mounted() { - ProductService.getProductsSmall().then((data) => (this.products = data)); + ProductService.getProductsMini().then((data) => (this.products = data)); } }; <\/script>`, @@ -74,7 +74,7 @@ import { ref, onMounted } from 'vue'; import { ProductService } from '@/service/ProductService'; onMounted(() => { - productService.value.getProductsSmall().then(data => products.value = data); + productService.value.getProductsMini().then(data => products.value = data); }); const products = ref(); @@ -97,7 +97,7 @@ const products = ref(); }; }, mounted() { - ProductService.getProductsSmall().then((data) => (this.products = data)); + ProductService.getProductsMini().then((data) => (this.products = data)); } };