Skip to content

Commit

Permalink
fix: refresh drive methods when user permissions change
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed Jul 4, 2024
1 parent a8ccc77 commit a9677cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/hooks/useDocumentDriveServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,11 @@ export function useDocumentDriveServer(
onSyncStatus,
clearStorage,
}),
[documentDrives, documentDrivesStatus],
[
documentDrives,
documentDrivesStatus,
isAllowedToCreateDocuments,
isAllowedToEditDocuments,
],
);
}

0 comments on commit a9677cd

Please sign in to comment.