Don't allow related fields in sort button
This commit is contained in:
parent
aa044b94cf
commit
3e294c3cb9
|
@ -13,6 +13,7 @@
|
||||||
label: col.label || col.name,
|
label: col.label || col.name,
|
||||||
value: col.name,
|
value: col.name,
|
||||||
type: col.schema?.type,
|
type: col.schema?.type,
|
||||||
|
related: col.related,
|
||||||
}))
|
}))
|
||||||
.filter(col => canBeSortColumn(col))
|
.filter(col => canBeSortColumn(col))
|
||||||
$: orderOptions = getOrderOptions($sort.column, columnOptions)
|
$: orderOptions = getOrderOptions($sort.column, columnOptions)
|
||||||
|
|
Loading…
Reference in New Issue