This commit is contained in:
2020-06-19 22:23:17 +00:00
parent 3c74c1d75d
commit 5c8151a95a

View File

@@ -583,7 +583,7 @@ export default {
///////////////////////////// /////////////////////////////
// //
// //
function clickHandler(menuItem) { async function clickHandler(menuItem) {
if (!menuItem) { if (!menuItem) {
return; return;
} }
@@ -614,7 +614,8 @@ function clickHandler(menuItem) {
}); });
} else { } else {
//general report selector chosen //general report selector chosen
m.vm.$refs.reportSelector.open().then(res => { let res = await m.vm.$refs.reportSelector.open();
//if null for no selection //if null for no selection
//just bail out //just bail out
if (res == null) { if (res == null) {
@@ -628,7 +629,6 @@ function clickHandler(menuItem) {
name: "ay-report", name: "ay-report",
params: { recordid: res.id, ayatype: window.$gz.type.Widget } params: { recordid: res.id, ayatype: window.$gz.type.Widget }
}); });
});
} }
break; break;
default: default: