mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
adds data cy to breadcrumbs: dashboard
This commit is contained in:
parent
306fc0ce25
commit
8fe0e4467d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export const Breadcrumbs = ({ darkMode }) => {
|
|||
{breadcrumbs.map(({ breadcrumb, dataCy, beta }, i) => {
|
||||
if (i == 1 || breadcrumbs?.length == 1) {
|
||||
return (
|
||||
<div key={breadcrumb.key} className="tj-dashboard-header-title-wrap" data-cy="breadcrumb-title">
|
||||
<div key={breadcrumb.key} className="tj-dashboard-header-title-wrap" data-cy={dataCy ?? ''}>
|
||||
<p className=" tj-text-xsm ">{breadcrumb}</p>
|
||||
{sidebarNav?.length > 0 && <SolidIcon name="cheveronright" fill={darkMode ? '#FDFDFE' : '#131620'} />}
|
||||
<li className="breadcrumb-item font-weight-500">
|
||||
|
|
|
|||
Loading…
Reference in a new issue