Profile editing: Fix bug with reordering (#38147)

This commit is contained in:
Echo authored and GitHub committed 2026-03-11 12:09:54 +00:00
1 parent da4b717211
commit f971670c62
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(