This commit is contained in:
@@ -287,7 +287,8 @@ export default {
|
||||
"DateRangeToday",
|
||||
"ReportRenderTimeOut",
|
||||
"RenderingReport",
|
||||
"Settings"
|
||||
"Settings",
|
||||
"IntegrationList"
|
||||
],
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
@@ -331,7 +331,10 @@ async function clickHandler(menuItem) {
|
||||
case "delete":
|
||||
m.vm.remove();
|
||||
break;
|
||||
|
||||
case "copylog":
|
||||
//put the log info on the clipboard:
|
||||
window.$gz.util.copyToClipboard(m.vm.log);
|
||||
break;
|
||||
default:
|
||||
window.$gz.eventBus.$emit(
|
||||
"notify-warning",
|
||||
@@ -380,8 +383,16 @@ function generateMenu(vm) {
|
||||
vm: vm
|
||||
});
|
||||
}
|
||||
|
||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "Copy",
|
||||
icon: "$ayiCopy",
|
||||
surface: false,
|
||||
key: FORM_KEY + ":copylog",
|
||||
vm: vm
|
||||
});
|
||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user