Skip to content

Commit

Permalink
invalidate data if order changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejo committed Sep 4, 2024
1 parent f32e274 commit 89cc896
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class InsertOrder @Inject internal constructor(
)
// Re-fetch the list only when at least one of the inserted orders has changed
if (orderChanged) {
dispatcher.dispatch(ListActionBuilder.newListRequiresRefreshAction(listTypeIdentifier))
dispatcher.dispatch(ListActionBuilder.newListDataInvalidatedAction(listTypeIdentifier))
}
}
}

0 comments on commit 89cc896

Please sign in to comment.