From b8202eae0c55045bf39b1fb2d36f36d4721ec787 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 10 Jan 2020 21:14:47 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 3 +-- ayanova/src/components/gz-data-table.vue | 19 +++++++++++++++++-- ayanova/src/views/test-inventory.vue | 2 +- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 767f76b7..bf7571af 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -46,8 +46,7 @@ CURRENT TODOs =-=-=-=-=-=-= SHELL / NAV / MENUS / LAYOUT -TODO: MONTHLY BACKUP NOW! - - The offline drives are the only really safe storage for cases of ransomware etc so be on it from now on + TODO: GRIDS - MAKE GRID AS GENERIC VUE COMPONENT diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 57c67376..2b6076bc 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -13,8 +13,19 @@ /* Xeslint-disable */ //DataTable component //https://vuetifyjs.com/en/components/data-tables#paginate-and-sort-server-side +/* +TODO: + Need minimal possible code in containing form + Should pass to this component all it needs to work independently for the most part + + +TO DETERMINE IF VIEWPORT IS XS: +this.$vuetify.breakpoint.xs +*/ export default { - created() {}, + created() { + console.log("gz-data-table viewport is XS = " + this.isXS()); + }, data() { return { loading: true, @@ -24,6 +35,10 @@ export default { records: [] }; }, - methods: {} + methods: { + isXS() { + return this.$vuetify.breakpoint.xs; + } + } }; diff --git a/ayanova/src/views/test-inventory.vue b/ayanova/src/views/test-inventory.vue index 8bffb9b2..57c33c76 100644 --- a/ayanova/src/views/test-inventory.vue +++ b/ayanova/src/views/test-inventory.vue @@ -66,7 +66,7 @@ export default { }); }, components: { - WidgetList, + WidgetList // WarehouseTop, // POTop, // PartTop,