Skip to content

Commit

Permalink
[FAIR-97] add separate slugs for dropdown title
Browse files Browse the repository at this point in the history
  • Loading branch information
xdemocle committed Dec 21, 2021
1 parent 7e62d37 commit 8336923
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/ContentHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ const ContentHeader = () => {
<Dropdown style="outset" options={pods}>
<FolderIcon />
</Dropdown>
<span className="text-xl font-semibold text-purple">{slug}</span>
<span className="text-xl font-semibold text-purple">
{slug[0]} {slug[1] && `/ ${slug[1]}`}
</span>
</div>

<div className="flex items-center">
Expand Down

0 comments on commit 8336923

Please sign in to comment.