diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index b08aaa63..6e0cd02a 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -48,7 +48,6 @@ CURRENT TODOs SHELL / NAV / MENUS / LAYOUT -TODO: small format now needs to be built by me because it's not using the built in format anymore, copy the stock way TODO: toolbar above grid for filters, refresh etc (make it a standard component?) TODO: main.js filters need to be finished TODO: Grid is leaving space for side nav on it's right side when in medium width or if make nav go away in full screen diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 212ee152..e238432f 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -164,7 +164,7 @@ export default { records: [], rowsPerPageItems: [5, 10, 25, 50, 100], selected: [], - narrowFormat: true + narrowFormat: false }; }, props: { @@ -198,11 +198,10 @@ export default { if (newValue.length != oldValue.length) { this.handleSelectChange(); } + }, + "$vuetify.breakpoint.xs": function(value) { + this.narrowFormat = value; } - // , //for now, not going with my own mini mode but may revisit so keeping this here but commented out for now - // "$vuetify.breakpoint.xs": function(value) { - // this.getDataFromApi(); - // } }, methods: { //Used by narrow view to get the "header" text for a column based on the column key