We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9563ef commit 219dca1Copy full SHA for 219dca1
src/components/MainHeader.jsx
@@ -158,6 +158,11 @@ export function MainHeader(props) {
158
<svg className="h-5 w-5">
159
<use xlinkHref="#icon-pen" />
160
</svg>
161
+ {props.currentItem && props.currentItem.pages && (
162
+ <span className="ml-2 px-2 py-0.5 text-xs rounded-full bg-black-600 text-gray-300">
163
+ {props.currentItem.pages.length} {props.currentItem.pages.length === 1 ? 'page' : 'pages'}
164
+ </span>
165
+ )}
166
</div>
167
)}
168
0 commit comments