Do not show the context bar (Object Gateway selection).
Fixes: https://tracker.ceph.com/issues/52022
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit
73acb9b60d23e79bdcdd03437b0a813487420e33)
this.subs.add(
this.router.events
.pipe(filter((event: Event) => event instanceof NavigationEnd))
- .subscribe(() => (this.isRgwRoute = this.router.url.includes(this.rgwUrlPrefix)))
+ .subscribe(() => (this.isRgwRoute = this.router.url.startsWith(this.rgwUrlPrefix)))
);
// Set daemon list polling only when in RGW route:
this.subs.add(