mirror of
https://github.com/directus/directus.git
synced 2026-02-01 17:15:00 -05:00
dont allow to sort m2a and translations (#4750)
This commit is contained in:
@@ -463,7 +463,10 @@ export default defineComponent({
|
||||
type: field.type,
|
||||
field: field.field,
|
||||
},
|
||||
sortable: ['json', 'o2m', 'm2o', 'file', 'files', 'alias', 'presentation'].includes(field.type) === false,
|
||||
sortable:
|
||||
['json', 'o2m', 'm2o', 'm2a', 'file', 'files', 'alias', 'presentation', 'translations'].includes(
|
||||
field.type
|
||||
) === false,
|
||||
}));
|
||||
},
|
||||
set(val) {
|
||||
@@ -584,8 +587,8 @@ export default defineComponent({
|
||||
position: sticky;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
padding: 32px var(--content-padding);
|
||||
|
||||
@@ -595,8 +598,8 @@ export default defineComponent({
|
||||
|
||||
.per-page {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
width: 240px;
|
||||
color: var(--foreground-subdued);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user