mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 17:07:13 +00:00
Patch DNDFilePicker
useEffect callback (#2506)
This commit is contained in:
parent
7342839e77
commit
36af69b4a8
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue