mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
fix: [Bug] "All members" set to "Can Edit" on Collection permissions defaults to read-only (#13392)
This commit is contained in:
1 parent
374f5ad403
commit
e80d95df23
1 file changed
+1
-1
@@ -60,7 +60,7 @@ function SharePopover({
|
||||
const [pendingIds, setPendingIds] = React.useState<string[]>([]);
|
||||
const [invitedInSession, setInvitedInSession] = React.useState<string[]>([]);
|
||||
const [permission, setPermission] = React.useState<CollectionPermission>(
|
||||
CollectionPermission.Read
|
||||
collection.permission ?? CollectionPermission.Read
|
||||
);
|
||||
|
||||
const share = shares.getByCollectionId(collection.id);
|
||||
|
||||
Reference in new issue
Block a user