jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

FIX breadcrumb in advocate single public page #322

Closed 0xlyd closed 4 years ago

0xlyd commented 4 years ago

Expected Behavior

The breadcrumb to be displayed properly and DETAILS 0XCC7D5C0E6C6C61B479975E162ACB0500B754735E nly to be active

Current Behavior

The breadcrumb is showing active both LIST and DETAILS 0XCC7D5C0E6C6C61B479975E162ACB0500B754735E

Possible Solution

Steps to Reproduce

Environment: Temp

  1. Go to Advocates list page
  2. Cick on view profile

Detailed Description

Schermata 2020-07-21 alle 14 20 18
ashishjur commented 4 years ago

Cause: List's breadcrumb URL was matching to both LIST and DETAILS. That is the default behavior.

I've added prop to use exact match for List's breadcrumb instead of default parent level match.