mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
only explicitly set color if label is pressent (#4427)
This commit is contained in:
parent
cf6a89ab7f
commit
f734eb9ab0
@ -162,7 +162,7 @@ export function BreakdownFilter({ filters, onChange }) {
|
||||
type={breakdown ? 'primary' : 'default'}
|
||||
disabled={insight === ViewType.STICKINESS || insight === ViewType.LIFECYCLE}
|
||||
data-attr="add-breakdown-button"
|
||||
style={{ color: '#fff' }}
|
||||
style={label ? { color: '#fff' } : {}}
|
||||
>
|
||||
<PropertyKeyInfo value={label || 'Add breakdown'} />
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user