mirror of
https://github.com/directus/directus.git
synced 2026-02-01 12:45:02 -05:00
fix card layout not working (#4267)
This commit is contained in:
@@ -378,7 +378,7 @@ export default defineComponent({
|
||||
|
||||
const sort = computed({
|
||||
get() {
|
||||
return _layoutQuery.value?.sort || fieldsInCollection.value[0].field;
|
||||
return _layoutQuery.value?.sort || primaryKeyField.value.field;
|
||||
},
|
||||
set(newSort: string) {
|
||||
_layoutQuery.value = {
|
||||
|
||||
Reference in New Issue
Block a user