This commit is contained in:
2021-06-28 20:16:29 +00:00
parent 5ac4ce20ac
commit 06c1503b29
26 changed files with 65 additions and 78 deletions

View File

@@ -1357,7 +1357,7 @@ async function clickHandler(menuItem) {
case "new":
m.vm.$router.push({
name: "customer-edit",
params: { recordid: 0, new: true }
params: { recordid: 0 }
});
break;
case "duplicate":
@@ -1488,7 +1488,7 @@ function generateMenu(vm) {
});
}
if (vm.rights.change) {
if (vm.rights.change && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: "Duplicate",
icon: "$ayiClone",