fix(submodules): correction to the role name so its now roles and properly updates
This commit is contained in:
@@ -24,7 +24,7 @@ const newSubModules = [
|
|||||||
description: "Bulk order and Forecast imports",
|
description: "Bulk order and Forecast imports",
|
||||||
link: "/dm",
|
link: "/dm",
|
||||||
icon: "Truck",
|
icon: "Truck",
|
||||||
role: ["systemAdmin"],
|
roles: ["technician", "supervisor", "manager", "admin", "systemAdmin"],
|
||||||
active: false,
|
active: false,
|
||||||
subSubModule: [],
|
subSubModule: [],
|
||||||
},
|
},
|
||||||
@@ -34,7 +34,7 @@ const newSubModules = [
|
|||||||
description: "",
|
description: "",
|
||||||
link: "#",
|
link: "#",
|
||||||
icon: "Truck",
|
icon: "Truck",
|
||||||
role: ["systemAdmin"],
|
roles: ["systemAdmin"],
|
||||||
active: false,
|
active: false,
|
||||||
subSubModule: [],
|
subSubModule: [],
|
||||||
},
|
},
|
||||||
@@ -44,7 +44,7 @@ const newSubModules = [
|
|||||||
description: "",
|
description: "",
|
||||||
link: "/materialHelper/consumption",
|
link: "/materialHelper/consumption",
|
||||||
icon: "Package",
|
icon: "Package",
|
||||||
role: ["technician", "supervisor", "manager", "admin", "systemAdmin"],
|
roles: ["technician", "supervisor", "manager", "admin", "systemAdmin"],
|
||||||
active: false,
|
active: false,
|
||||||
subSubModule: [],
|
subSubModule: [],
|
||||||
},
|
},
|
||||||
@@ -54,7 +54,7 @@ const newSubModules = [
|
|||||||
description: "",
|
description: "",
|
||||||
link: "/cyclecount",
|
link: "/cyclecount",
|
||||||
icon: "Package",
|
icon: "Package",
|
||||||
role: ["technician", "supervisor", "manager", "admin", "systemAdmin"],
|
roles: ["technician", "supervisor", "manager", "admin", "systemAdmin"],
|
||||||
active: false,
|
active: false,
|
||||||
subSubModule: [],
|
subSubModule: [],
|
||||||
},
|
},
|
||||||
@@ -64,7 +64,7 @@ const newSubModules = [
|
|||||||
description: "Open orders",
|
description: "Open orders",
|
||||||
link: "/openOrders",
|
link: "/openOrders",
|
||||||
icon: "Truck",
|
icon: "Truck",
|
||||||
role: [
|
roles: [
|
||||||
"viewer",
|
"viewer",
|
||||||
"technician",
|
"technician",
|
||||||
"supervisor",
|
"supervisor",
|
||||||
@@ -94,7 +94,7 @@ const newSubModules = [
|
|||||||
link: "#", // when link is # this will mean its a button
|
link: "#", // when link is # this will mean its a button
|
||||||
icon: "ShieldCheck",
|
icon: "ShieldCheck",
|
||||||
active: true,
|
active: true,
|
||||||
roles: ["tester", "systemAdmin"],
|
roles: ["tester", "admin", "systemAdmin"],
|
||||||
subSubModule: [
|
subSubModule: [
|
||||||
{
|
{
|
||||||
name: "Settings",
|
name: "Settings",
|
||||||
|
|||||||
Reference in New Issue
Block a user