This commit is contained in:
2020-12-14 20:44:56 +00:00
parent 6c44f08038
commit 2da73c775a
2 changed files with 22 additions and 2 deletions

View File

@@ -557,6 +557,24 @@ function generateMenu(vm) {
});
}
if (vm.rights.change) {
menuOptions.menuItems.push({
title: "MemoForward",
icon: null,
key: FORM_KEY + ":forward",
vm: vm
});
}
if (vm.rights.change) {
menuOptions.menuItems.push({
title: "MemoReply",
icon: null,
key: FORM_KEY + ":reply",
vm: vm
});
}
menuOptions.menuItems.push({ divider: true, inset: false });
window.$gz.eventBus.$emit("menu-change", menuOptions);
@@ -584,6 +602,8 @@ async function fetchTranslatedText(vm) {
"MemoToID",
"MemoFromID",
"MemoSent",
"MemoForward",
"MemoReply",
"MemoCustom1",
"MemoCustom2",
"MemoCustom3",