Commit 527f8a9
fix: remove duplicate Catalog breadcrumb on asset detail pages (#21820)
I think it's easiest to see these two fixes in a quick demo:
https://www.loom.com/share/ecec7b76aad44dd78115ac3d79a64ec0
- The assetOverviewBreadcrumbs array included an explicit {text:
'Catalog'} item followed by the ViewBreadcrumb component, which itself
renders "Catalog / [view name]". This caused the breadcrumb trail to
read "Catalog > Catalog / All Assets" instead of just "Catalog / All
Assets".
- The vertical positioning of the breadcrumbs moved as you moved from
page to page
---------
Co-authored-by: Claude <noreply@anthropic.com>
Internal-RevId: 72e502e69554cb10daf90bfe8b8bd1715a2b8dc61 parent e647d4f commit 527f8a9
2 files changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
106 | 115 | | |
107 | 116 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
| |||
0 commit comments