Skip to content

Commit

Permalink
fix: indexeddb write access
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Nov 5, 2024
1 parent 4cd3f98 commit 4c596fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const useRelationshipTypeAccess = (relationshipTypeId: string) => {
() =>
storageController.get(userStores.RELATIONSHIP_TYPES, relationshipTypeId, {
project: ({ access }) => ({
hasWriteAccess: access?.write ?? false,
hasWriteAccess: access?.data?.write ?? false,
}),
}),
{
Expand Down

0 comments on commit 4c596fc

Please sign in to comment.