Profile editing: Fix bug with reordering (#38147)
This commit is contained in:
2 files changed
+8
-5
No files matched your search
@@ -221,7 +221,12 @@ export const patchProfile = createDataLoadingThunk(
|
||||
`${profileEditSlice.name}/patchProfile`,
|
||||
(params: Partial<ApiProfileUpdateParams>) => apiPatchProfile(params),
|
||||
transformProfile,
|
||||
{ useLoadingBar: false },
|
||||
{
|
||||
useLoadingBar: false,
|
||||
condition(_, { getState }) {
|
||||
return !getState().profileEdit.isPending;
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
export const selectFieldById = createAppSelector(
|
||||
|
||||
Reference in new issue
Block a user