This commit is contained in:
@@ -917,14 +917,18 @@ async function clickHandler(menuItem) {
|
||||
break;
|
||||
case "report":
|
||||
if (m.id != null) {
|
||||
//last report selected
|
||||
//last report selected is in m.id
|
||||
m.vm.$router.push({
|
||||
name: "ay-report",
|
||||
params: { recordid: m.id, ayatype: window.$gz.type.User }
|
||||
});
|
||||
} else {
|
||||
//general report selector chosen
|
||||
let res = await m.vm.$refs.reportSelector.open();
|
||||
|
||||
let res = await m.vm.$refs.reportSelector.open({
|
||||
ObjectType: window.$gz.type.User,
|
||||
selectedRowIds: [m.vm.obj.id]
|
||||
});
|
||||
|
||||
//if null for no selection
|
||||
//just bail out
|
||||
|
||||
Reference in New Issue
Block a user