mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
Make collection title and icon inline editable like documents (#12574)
Collection title/icon editing was gated by `isEditRoute && separateEditMode`, which meant that in the default inline editing mode (separateEditMode off) the title and icon were never editable inline — even though the collection description was. This diverged from documents and from the collection description editor. Align the Header editing gate with documents (DataLoader) and the Overview description editor: `isEditRoute || !separateEditMode`, so title and icon are seamlessly editable inline whenever the user has update permission. Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -179,7 +179,7 @@ const CollectionScene = observer(function CollectionScene_() {
|
||||
<Notices collection={collection} />
|
||||
<Header
|
||||
collection={collection}
|
||||
isEditing={isEditRoute && !!user?.separateEditMode}
|
||||
isEditing={isEditRoute || !user?.separateEditMode}
|
||||
/>
|
||||
|
||||
<PinnedDocuments
|
||||
|
||||
Reference in New Issue
Block a user