France-ioi / AlgoreaFrontend

Front-end for the new Algorea platform
MIT License
4 stars 1 forks source link

The thread button is not disappearing where it's required #1827

Open Iloveall opened 3 weeks ago

Iloveall commented 3 weeks ago

Describe the bug

The thread button shown on pages where it's non visible

To Reproduce Steps to reproduce the behavior: As usual

  1. Go to this page
  2. Then I don't see thread button in header
  3. Then I click on prev button in neighbours component
  4. Then I see the thread button in header
  5. Then I click on back button
  6. And I still see the thread button in header

Expected behavior

When navigation between pages the thread button should be show/hidden correctly depends on visibility logic of the thread

Screenshots https://github.com/user-attachments/assets/fa3738ca-f7ac-4414-9959-aad5cc50be2c