Skip to content

Commit

Permalink
fix: fix ellipise
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Jun 17, 2024
1 parent 85967ed commit 7a9bcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/semi-ui/breadcrumb/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class Breadcrumb extends BaseComponent<BreadcrumbProps, BreadcrumbState> {
key={key}
active={this.props.activeIndex !== undefined ? this.props.activeIndex===idx : idx === items.length - 1}
route={route._origin}
shouldRenderSeparator={!(shouldCollapse && (hasRenderMore || moreTypeIsPopover) && inCollapseArea)}
shouldRenderSeparator={ (idx !== items.length - 1) && !(shouldCollapse && (hasRenderMore || moreTypeIsPopover) && inCollapseArea)}
>
{renderItem ? renderItem(route._origin) : route.name}
</BreadcrumbItem>
Expand Down

0 comments on commit 7a9bcb5

Please sign in to comment.