This commit is contained in:
2021-01-06 20:03:10 +00:00
parent faa5551d19
commit 38d0bb636b
2 changed files with 10 additions and 14 deletions

View File

@@ -334,16 +334,6 @@ function initNavPanel() {
});
}
//CONTRACTS subitem
if (window.$gz.role.canOpen(window.$gz.type.Contract)) {
sub.push({
title: "ContractList",
icon: "$ayiFileContract",
route: "/svc-contracts",
key: key++
});
}
//PROJECTS subitem
if (window.$gz.role.canOpen(window.$gz.type.Project)) {
sub.push({
@@ -450,6 +440,16 @@ function initNavPanel() {
sub = [];
//SERVICE CONTRACTS subitem
if (window.$gz.role.canOpen(window.$gz.type.Contract)) {
sub.push({
title: "ContractList",
icon: "$ayiFileContract",
route: "/svc-contracts",
key: key++
});
}
//SERVICE BANK
if (window.$gz.role.canOpen(window.$gz.type.ServiceBank)) {
sub.push({
title: "ServiceBankList",