Skip to content

fix(filemanager): hide more button for flattened trees (close cloudreve/cloudreve#3503)#345

Open
YUDONGLING wants to merge 1 commit into
cloudreve:masterfrom
YUDONGLING:fix-wrongly-display-more-btn-in-trash-bin-20260716.1
Open

fix(filemanager): hide more button for flattened trees (close cloudreve/cloudreve#3503)#345
YUDONGLING wants to merge 1 commit into
cloudreve:masterfrom
YUDONGLING:fix-wrongly-display-more-btn-in-trash-bin-20260716.1

Conversation

@YUDONGLING

Copy link
Copy Markdown
Member

Co-authored-by: Codex <noreply@openai.com>
Copilot AI review requested due to automatic review settings July 16, 2026 08:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the FileManager tree view UI to avoid showing the “Show more” navigation item when the tree is rendered in “flattened” mode (per cloudreve/cloudreve#3503), aligning the controls with the actual rendering behavior for flattened trees.

Changes:

  • Gate the “Show more” (navbar.showMore) side-nav item behind !flatten so it won’t render for flattened trees.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants