saleor-dashboard
saleor-dashboard copied to clipboard
Wrong description displayed when navigating through categories
What I'm trying to achieve
I'm trying to edit the description of categories and subcategories. When I edit the description of a category and then I go to a subcategory listed on the bottom of the page (also happens when navigating from the sub to the parent), I get the description of the parent category. I have to refresh the page to get the true description of the category.
It seems that the description field is not refreshed when navigating through categories, only the first one displayed is kept and used all along.
Tested with Dashboard 3.0.0-b.17 and 3.0.0-b.20 against Saleor 3.0.0-b.28 on Chrome 95.0.4638.69.
Steps to reproduce the problem
- Go to a category
- Edit the description of the category and save it
- Go to a subcategory -> the description is the same as the parent one
- Refresh the page -> the true description of the subcategory appears
- Go back to the parent category using the button "<- Categories" on top of the page -> the description of the subcategory appears
- Refresh the page -> the true description of the parent category appears
What I expected to happen
Get the true description of the categories when navigating through them.
Hi, it seems like this issue still exists in dashboard v3.4.0 and core v3.5.0. We are going to fix this issue.