mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 11:12:15 +03:00
Fix props availability check when listing stats filters in dropdown (#3671)
This commit is contained in:
parent
dc8210dd84
commit
1021942863
@ -95,7 +95,7 @@ function DropdownContent({ history, site, query, wrapped }) {
|
||||
|
||||
if (wrapped === 0 || addingFilter) {
|
||||
let filterGroups = {...FILTER_GROUPS}
|
||||
if (!site.propsEnabled) delete filterGroups.props
|
||||
if (!site.propsAvailable) delete filterGroups.props
|
||||
|
||||
return Object.keys(filterGroups).map((option) => filterDropdownOption(site, option))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user