diff --git a/src/hooks/useDocumentDriveServer.ts b/src/hooks/useDocumentDriveServer.ts index 705d4132..d7119783 100644 --- a/src/hooks/useDocumentDriveServer.ts +++ b/src/hooks/useDocumentDriveServer.ts @@ -549,6 +549,11 @@ export function useDocumentDriveServer( onSyncStatus, clearStorage, }), - [documentDrives, documentDrivesStatus], + [ + documentDrives, + documentDrivesStatus, + isAllowedToCreateDocuments, + isAllowedToEditDocuments, + ], ); }