This commit is contained in:
@@ -913,14 +913,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
|
||||
@@ -937,6 +941,7 @@ async function clickHandler(menuItem) {
|
||||
});
|
||||
}
|
||||
break;
|
||||
|
||||
case "directnotify":
|
||||
//nav to direct notify with list of users appended to route
|
||||
if (m.vm.obj.id == 0) {
|
||||
|
||||
Reference in New Issue
Block a user