fix(manual print): missing role added
This commit is contained in:
@@ -70,7 +70,7 @@ export default function Lots() {
|
||||
const { settings } = useSettingStore();
|
||||
const server = settings.filter((n) => n.name === "server")[0]?.value || "";
|
||||
|
||||
const roles = ["admin", "manager", "operator"];
|
||||
const roles = ["technician", "admin", "manager", "operator"];
|
||||
const lotdata = data ? data : [];
|
||||
|
||||
if (user && roles.includes(user.role)) {
|
||||
|
||||
Reference in New Issue
Block a user