Skip to content

Commit

Permalink
fix: correct UUID processing state
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Mar 26, 2024
1 parent ac9c153 commit 6b827ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sharedData/sharedDataSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ export const fetchSharedResource = createAsyncThunk(
);

const setProcessing = (state, requestStatus, sharedResource) =>
_.set(`processing.${sharedResource.id}`, requestStatus === 'pending', state);
_.set(
`processing.${sharedResource.dataEntry.id}`,
requestStatus === 'pending',
state
);

const sharedDataSlice = createSlice({
name: 'sharedData',
Expand Down

0 comments on commit 6b827ae

Please sign in to comment.