Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

[C-2853] Fix deletedCount calculation #3763

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/web/src/common/store/lineup/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ function* fetchLineupMetadatasAsync(
return true
})

const deletedCount = action.limit - lineupEntries.length - nullCount
const deletedCount =
lineupMetadatasResponse.length -
responseFilteredDeletes.length -
nullCount
yield put(
lineupActions.fetchLineupMetadatasSucceeded(
lineupEntries,
Expand Down