Skip to content

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Jul 17, 2025

Purpose

When we were deleting a parent 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.

Proposal

Now, we are checking if the document is a parent or not, if it is a parent we just redirect to the homepage.

@AntoLC AntoLC self-assigned this Jul 17, 2025
@AntoLC AntoLC added bug Something isn't working frontend multipages labels Jul 17, 2025
@AntoLC AntoLC force-pushed the fix/left-panel-empty branch 2 times, most recently from e039264 to 67a001b Compare July 21, 2025 09:57
@AntoLC AntoLC requested a review from lunika July 21, 2025 10:11
@AntoLC AntoLC force-pushed the fix/left-panel-empty branch 2 times, most recently from 34d9784 to b6caad8 Compare July 21, 2025 14:12
@AntoLC AntoLC requested a review from lunika July 21, 2025 14:29
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.
@AntoLC AntoLC force-pushed the fix/left-panel-empty branch from b6caad8 to 8c9380c Compare July 25, 2025 10:55
@AntoLC AntoLC merged commit 8c9380c into main Jul 25, 2025
20 of 21 checks passed
@AntoLC AntoLC deleted the fix/left-panel-empty branch July 25, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend multipages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants