mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 16:16:20 +00:00
ListSettingsView: Append the new field instead of prepend
This commit is contained in:
parent
393909c381
commit
3e808a1983
@ -17,7 +17,7 @@ const reducer = (state = initialState, action) =>
|
||||
switch (action.type) {
|
||||
case 'ADD_FIELD': {
|
||||
const layoutFieldList = get(state, layoutFieldListPath, []);
|
||||
set(draftState, layoutFieldListPath, [action.item, ...layoutFieldList]);
|
||||
set(draftState, layoutFieldListPath, [...layoutFieldList, action.item]);
|
||||
break;
|
||||
}
|
||||
case 'MOVE_FIELD': {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user