diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index f7930398..0ee3f521 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -135,23 +135,20 @@ export default { }, deep: true }, - selected: { - handler(newValue, oldValue) { - if (newValue.length != oldValue.length) { - console.log("Selected changed, triggering handleSelectChange:"); - - this.handleSelectChange(); - } - }, - deep: true - } - // , - // selected: function(newValue, oldValue) { - // if (newValue != oldValue) { - // console.log("Selected changed, triggering handleSelectChange:"); - // this.handleSelectChange(); - // } + // selected: { + // handler(newValue, oldValue) { + // //without this it fires twice + // if (newValue.length != oldValue.length) { + // this.handleSelectChange(); + // } + // }, + // deep: true // } + selected: function(newValue, oldValue) { + if (newValue.length != oldValue.length) { + this.handleSelectChange(); + } + } // , //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();