This commit is contained in:
@@ -575,14 +575,12 @@ function clickHandler(menuItem) {
|
||||
case "report":
|
||||
if (m.id != null) {
|
||||
//last report selected
|
||||
//alert("STUB: last report selected for " + m.id);
|
||||
// /report/:ayatype/:recordid
|
||||
m.vm.$router.push({
|
||||
name: "ay-report",
|
||||
params: { recordid: m.id, ayatype: window.$gz.type.Widget }
|
||||
});
|
||||
} else {
|
||||
//finally, make a fake report viewer view to go to with choices set
|
||||
//general report selector chosen
|
||||
m.vm.$refs.reportSelector.open().then(res => {
|
||||
//if null for no selection
|
||||
//just bail out
|
||||
@@ -599,7 +597,6 @@ function clickHandler(menuItem) {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
window.$gz.eventBus.$emit(
|
||||
|
||||
Reference in New Issue
Block a user