fix(lots): corrections to role issue where user logged in but no role set yet
This commit is contained in:
@@ -242,7 +242,9 @@ export default function Lots() {
|
|||||||
{lot.overPrinting}
|
{lot.overPrinting}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
{user &&
|
{user &&
|
||||||
roles.includes(accessRoles[0].role) && (
|
roles.includes(
|
||||||
|
accessRoles[0]?.role
|
||||||
|
) && (
|
||||||
<>
|
<>
|
||||||
{server === "usday1vms006" ||
|
{server === "usday1vms006" ||
|
||||||
server === "localhost" ? (
|
server === "localhost" ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user