Extend DMS fetch for rome emails.
This commit is contained in:
@@ -21,7 +21,11 @@ export function DmsCdkMakesRefetch({ currentUser, bodyshop, form, socket }) {
|
||||
const [loading, setLoading] = useState(false);
|
||||
const { t } = useTranslation();
|
||||
|
||||
if (!currentUser.email.includes("@imex.")) return null;
|
||||
if (
|
||||
!currentUser.email.includes("@imex.") ||
|
||||
!currentUser.email.includes("@rome.")
|
||||
)
|
||||
return null;
|
||||
|
||||
const handleRefetch = async () => {
|
||||
setLoading(true);
|
||||
|
||||
Reference in New Issue
Block a user