Add m2m to non sortable fields (#4855)

* remove non existing fields

* add m2m to non sortable fields
This commit is contained in:
Nitwel
2021-04-08 22:08:17 +02:00
committed by GitHub
parent 6c30f2ec99
commit be89f9d77f

View File

@@ -469,7 +469,7 @@ export default defineComponent({
field: field.field,
},
sortable:
['json', 'o2m', 'm2o', 'm2a', 'file', 'files', 'alias', 'presentation', 'translations'].includes(
['json', 'o2m', 'm2o', 'm2m', 'm2a', 'file', 'files', 'alias', 'presentation', 'translations'].includes(
field.type
) === false,
}));