diff --git a/src/ts/@overflow/app/views/layout/TitleBar.tsx b/src/ts/@overflow/app/views/layout/TitleBar.tsx index de0dddd..25e6c7e 100644 --- a/src/ts/@overflow/app/views/layout/TitleBar.tsx +++ b/src/ts/@overflow/app/views/layout/TitleBar.tsx @@ -61,12 +61,16 @@ export class TitleBar extends React.Component { public renderBreadcrumb(): JSX.Element[] { let elems: JSX.Element[] = new Array(); let pathArr = this.props.location.split('/'); + let index: number = 0; for (let item of pathArr) { if (item !== '' && !item.match(/^\d+$/)) { let path = '/' + item; - elems.push({this.capitalizeFirst(item)}); - elems.push(); + elems.push( + + {this.capitalizeFirst(item)} + ); + elems.push(); } } return elems;