GlPath: Navigation arrows don't update when path items change

Background

It was discovered in gitlab-org/gitlab!197508 (comment 2622118497) that when the number of path items changes, the navigation arrows don't appear/disappear accordingly. This issue was being masked in Value Stream Analytics by the skeleton loader that replaces the navigation upon changing value streams.

Screen Recording 2025-07-11 at 3.25.06 PM.mov

Edited by Rudy Crespo