Skip to content

[stable32] fix: close sidebar when deleting the selected file#6144

Merged
vitormattos merged 1 commit intostable32from
backport/6142/stable32
Dec 11, 2025
Merged

[stable32] fix: close sidebar when deleting the selected file#6144
vitormattos merged 1 commit intostable32from
backport/6142/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6142

- Changed condition from checking 'uuid' to 'nodeId' in delete method
- Added logic to close sidebar when the deleted file is the currently selected one
- Simplified deleteMultiple method to rely on delete method's cleanup

This fixes the issue where the sidebar remained open after deleting
the only/selected file, both when the file was just uploaded or when
the page was already loaded.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 11, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 11, 2025
@vitormattos vitormattos merged commit b251d77 into stable32 Dec 11, 2025
56 checks passed
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 11, 2025
@vitormattos vitormattos deleted the backport/6142/stable32 branch December 11, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant