Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and introduce base history #19

Merged
merged 14 commits into from
May 14, 2022
Prev Previous commit
Next Next commit
feat(criteria-panel): Update tab badge
joachimdalen committed May 14, 2022
commit 594ab01d252a20a57a207848759e3314d0cec621
3 changes: 2 additions & 1 deletion src/criteria-panel/CriteriaPanel.tsx
Original file line number Diff line number Diff line change
@@ -482,7 +482,8 @@ const CriteriaPanel = (): React.ReactElement => {
<Tab id="details" name="Details" iconProps={{ iconName: 'Page' }} />
<Tab
id="history"
name={`History (${historyEvents?.items.length})`}
name="History"
badgeCount={historyEvents?.items.length}
iconProps={{ iconName: 'History' }}
/>
</TabBar>