From 1ac506b585b7e45628b68461386647b9826cc946 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 24 Nov 2020 15:34:01 +0000 Subject: [PATCH] --- ayanova/src/components/gz-data-table.vue | 1 + ayanova/src/views/cust-customer-notes.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index bf600c34..3e3e0033 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -575,6 +575,7 @@ export default { Limit: 5, Offset: 0 }; + //calculate paging based on settings const { page, itemsPerPage } = vm.dataTablePagingOptions; if (itemsPerPage && itemsPerPage > 0) { diff --git a/ayanova/src/views/cust-customer-notes.vue b/ayanova/src/views/cust-customer-notes.vue index 09b3b2de..149092c9 100644 --- a/ayanova/src/views/cust-customer-notes.vue +++ b/ayanova/src/views/cust-customer-notes.vue @@ -31,8 +31,8 @@ const FORM_KEY = "cust-customer-notes"; export default { created() { - this.dataListKey = this.$route.params.dataListKey; - this.customerId = this.$route.params.customerId; + //this.dataListKey = this.$route.params.dataListKey; + this.customerId = this.$route.params.customerid; this.rights = window.$gz.role.getRights(window.$gz.type.Customer); window.$gz.eventBus.$on("menu-click", clickHandler); generateMenu(this);