The Files app nav labels checked window.location.pathname directly, which missed hash-based vault routes and the post-login redirect target, so labels didn't always reflect vault state.