🐛(frontend) fix empty left panel after deleting root doc

When we were deleting a root document, the left panel
was getting empty. It was because the panel thought that
it was a child document and was trying clear
dynamically the panel.
Now, we are checking if the document is a root or not,
if it is a root we just redirect to the homepage.
This commit is contained in:
Anthony LC
2025-07-25 12:55:29 +02:00
parent 3ff6d2541c
commit 8c9380c356
3 changed files with 15 additions and 16 deletions

View File

@@ -23,6 +23,7 @@ and this project adheres to
### Fixed
- 🐛(service-worker) Fix useOffline Maximum update depth exceeded #1196
- 🐛(frontend) fix empty left panel after deleting root doc #1197
- 🐛(helm) charts generate invalid YAML for collaboration API / WS #890
- 🐛(frontend) 401 redirection overridden #1214