Files
new-api/web/src
Apple\Apple a726818c17 🐛fix(HeaderBar): Prevent flicker when unauthenticated users click Console link
Previously, when an unauthenticated user clicked the "Console" navigation
link, the application would first attempt to navigate to '/console'.
This would then trigger a redirect to '/login', causing a brief flicker
between the two pages.

This commit modifies the `renderNavLinks` function in `HeaderBar.js`
to proactively check the user's authentication status. If the user is
not logged in and clicks the "Console" link, the navigation target
is directly set to '/login', avoiding the intermediate redirect and
eliminating the flickering effect.
2025-05-20 02:23:06 +08:00
..
2025-05-20 00:52:47 +08:00
2025-05-20 00:23:47 +08:00
2025-05-20 00:23:47 +08:00
2025-05-20 01:11:37 +08:00
2025-05-06 01:36:23 +08:00
2025-05-06 01:38:44 +08:00