From 8d180fcd66414095ac605e1189dc60fc5c86cb91 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 1 Sep 2020 22:08:47 +0000 Subject: [PATCH] --- ayanova/src/components/gz-data-table.vue | 7 +--- ayanova/src/views/ay-report-edit.vue | 51 ++++++++++++++++++++++-- 2 files changed, 50 insertions(+), 8 deletions(-) diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 183fc70e..5c676603 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -470,16 +470,13 @@ export default { selectedRowIds = vm.selected.map(z => { return z.id; }); - selectedRowIds.reverse();//destructive but in this case doesn't matter at all - - //reverse them non destructively - // return array.map((item,idx) => array[array.length-1-idx]) + selectedRowIds.reverse(); } /* public AyaType ObjectType { get; set; } public long[] SelectedRowIds { get; set; } public string DataListKey { get; set; } public string ListView { get; set; }//optional, if null or empty will use default list view built into DataList - */ + */ return { ObjectType: ayaType, selectedRowIds: selectedRowIds, diff --git a/ayanova/src/views/ay-report-edit.vue b/ayanova/src/views/ay-report-edit.vue index 72212de8..e43e5522 100644 --- a/ayanova/src/views/ay-report-edit.vue +++ b/ayanova/src/views/ay-report-edit.vue @@ -1,5 +1,6 @@