diff --git a/client/src/components/rbac-wrapper/rbac-wrapper.component.jsx b/client/src/components/rbac-wrapper/rbac-wrapper.component.jsx index 876f41782..3722d3d7c 100644 --- a/client/src/components/rbac-wrapper/rbac-wrapper.component.jsx +++ b/client/src/components/rbac-wrapper/rbac-wrapper.component.jsx @@ -53,14 +53,6 @@ export function HasRbacAccess({ requiredAuthLevel, action, }) { - console.log( - "Checking access for action", - action, - bodyshop.md_rbac[action], - authLevel, - bodyshop.md_rbac[action] <= authLevel - ); - return ( (requiredAuthLevel && requiredAuthLevel <= authLevel) || ((bodyshop.md_rbac && bodyshop.md_rbac[action]) || rbacDefaults[action]) <= diff --git a/client/src/utils/GraphQLClient.js b/client/src/utils/GraphQLClient.js index 0ec374750..269fdffe9 100644 --- a/client/src/utils/GraphQLClient.js +++ b/client/src/utils/GraphQLClient.js @@ -1,10 +1,4 @@ -import { - ApolloClient, - ApolloLink, - InMemoryCache, - operationName, - split, -} from "@apollo/client"; +import { ApolloClient, ApolloLink, InMemoryCache, split } from "@apollo/client"; import { setContext } from "@apollo/client/link/context"; import { HttpLink } from "@apollo/client/link/http"; //"apollo-link-http"; import { RetryLink } from "@apollo/client/link/retry";