mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 15:32:42 +00:00
Remove media from sortable fields
This commit is contained in:
parent
639c631985
commit
def2e6b8e3
@ -2,7 +2,7 @@
|
||||
|
||||
const _ = require('lodash');
|
||||
|
||||
const NON_SORTABLES = ['group', 'json', 'relation'];
|
||||
const NON_SORTABLES = ['group', 'json', 'relation', 'media'];
|
||||
|
||||
const isListable = (schema, name) => {
|
||||
return isSortable(schema, name) && schema.attributes[name].type != 'password';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user