mirror of
https://github.com/directus/directus.git
synced 2026-01-23 10:18:03 -05:00
Don't disable distinct count based on integer type (#14537)
Fixes #14420
This commit is contained in:
@@ -98,6 +98,11 @@ export default definePanel({
|
||||
value: 'count',
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
text: 'Count (Distinct)',
|
||||
value: 'countDistinct',
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
text: 'First',
|
||||
value: 'first',
|
||||
@@ -111,12 +116,6 @@ export default definePanel({
|
||||
{
|
||||
divider: true,
|
||||
},
|
||||
|
||||
{
|
||||
text: 'Count (Distinct)',
|
||||
value: 'countDistinct',
|
||||
disabled: !fieldIsNumber.value,
|
||||
},
|
||||
{
|
||||
text: 'Average',
|
||||
value: 'avg',
|
||||
|
||||
Reference in New Issue
Block a user