diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/index.jsx index b79a4535a..35ec9215d 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/index.jsx @@ -30,7 +30,7 @@ export function DnDFileUploaderProvider({ workspace, children }) { const { user } = useUser(); useEffect(() => { - if (!!user && user.role === "default") return false; + if (!!user && user.role === "default") return; System.checkDocumentProcessorOnline().then((status) => setReady(status)); }, [user]);