mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix dashboard panels disctinct functions (#11580)
This commit is contained in:
@@ -81,7 +81,7 @@ export default definePanel({
|
||||
|
||||
{
|
||||
text: 'Count (Distinct)',
|
||||
value: 'count_distinct',
|
||||
value: 'countDistinct',
|
||||
disabled: !supportsAggregate.value,
|
||||
},
|
||||
{
|
||||
@@ -91,7 +91,7 @@ export default definePanel({
|
||||
},
|
||||
{
|
||||
text: 'Average (Distinct)',
|
||||
value: 'avg_distinct',
|
||||
value: 'avgDistinct',
|
||||
disabled: !supportsAggregate.value,
|
||||
},
|
||||
{
|
||||
@@ -101,7 +101,7 @@ export default definePanel({
|
||||
},
|
||||
{
|
||||
text: 'Sum (Distinct)',
|
||||
value: 'sum_distinct',
|
||||
value: 'sumDistinct',
|
||||
disabled: !supportsAggregate.value,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ export default defineComponent({
|
||||
},
|
||||
function: {
|
||||
type: String as PropType<
|
||||
'avg' | 'avg_distinct' | 'sum' | 'sum_distinct' | 'count' | 'count_distinct' | 'min' | 'max' | 'first' | 'last'
|
||||
'avg' | 'avgDistinct' | 'sum' | 'sumDistinct' | 'count' | 'countDistinct' | 'min' | 'max' | 'first' | 'last'
|
||||
>,
|
||||
required: true,
|
||||
},
|
||||
|
||||
@@ -47,7 +47,7 @@ export default definePanel({
|
||||
},
|
||||
{
|
||||
text: 'Count (Distinct)',
|
||||
value: 'count_distinct',
|
||||
value: 'countDistinct',
|
||||
},
|
||||
{
|
||||
text: 'Average',
|
||||
@@ -55,7 +55,7 @@ export default definePanel({
|
||||
},
|
||||
{
|
||||
text: 'Average (Distinct)',
|
||||
value: 'avg_distinct',
|
||||
value: 'avgDistinct',
|
||||
},
|
||||
{
|
||||
text: 'Sum',
|
||||
@@ -63,7 +63,7 @@ export default definePanel({
|
||||
},
|
||||
{
|
||||
text: 'Sum (Distinct)',
|
||||
value: 'sum_distinct',
|
||||
value: 'sumDistinct',
|
||||
},
|
||||
{
|
||||
text: 'Minimum',
|
||||
|
||||
@@ -52,7 +52,7 @@ export default defineComponent({
|
||||
},
|
||||
function: {
|
||||
type: String as PropType<
|
||||
'avg' | 'avg_distinct' | 'sum' | 'sum_distinct' | 'count' | 'count_distinct' | 'min' | 'max'
|
||||
'avg' | 'avgDistinct' | 'sum' | 'sumDistinct' | 'count' | 'countDistinct' | 'min' | 'max'
|
||||
>,
|
||||
required: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user