From 525ae9f9bc4ca850e863ea74ebd65e518da17ea3 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 31 Aug 2020 21:00:39 +0000 Subject: [PATCH] --- ayanova/src/components/report-selector-control.vue | 6 +++--- ayanova/src/views/widget.vue | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ayanova/src/components/report-selector-control.vue b/ayanova/src/components/report-selector-control.vue index 7e06df77..6dc1063b 100644 --- a/ayanova/src/components/report-selector-control.vue +++ b/ayanova/src/components/report-selector-control.vue @@ -68,12 +68,12 @@ export default { }), methods: { open(ayaType, idList) { - let vm=this; + let vm = this; if (ayaType == null || idList == null || idList.length == 0) { throw "report-selector:Open missing type and or idList"; } - this.ayaType=ayaType; - this.idList=idList; + this.ayaType = ayaType; + this.idList = idList; //get report list from server //for now we'll fake it let fakeReportList = []; diff --git a/ayanova/src/views/widget.vue b/ayanova/src/views/widget.vue index a34378e2..feee1738 100644 --- a/ayanova/src/views/widget.vue +++ b/ayanova/src/views/widget.vue @@ -637,7 +637,11 @@ async function clickHandler(menuItem) { }); } else { //general report selector chosen - let res = await m.vm.$refs.reportSelector.open(); + + let res = await m.vm.$refs.reportSelector.open( + window.$gz.type.Widget, + [m.vm.obj.id] + ); //if null for no selection //just bail out