Skip to content

Commit

Permalink
fix: fix wrong boolean default for view and edit access
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Aug 18, 2021
1 parent 1b0ada7 commit 919a287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/widgets/src/SharingDialog/sharingConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ export const convertConstantToAccess = (constant, useBoolean) => {
case ACCESS_VIEW_AND_EDIT:
return useBoolean ? true : 'rw------'
default:
return useBoolean ? true : '--------'
return useBoolean ? false : '--------'
}
}

0 comments on commit 919a287

Please sign in to comment.