Skip to content

Commit

Permalink
Merge pull request #53725 from wildan-m/wildan/fix/51426-clean-pendin…
Browse files Browse the repository at this point in the history
…gAction-rate

Fix: Distance Rate added offline seen grayed out going online then back offline
  • Loading branch information
francoisl authored Dec 16, 2024
2 parents 7e49080 + 0aed4c7 commit dfddcb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libs/actions/Policy/DistanceRate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,10 @@ function deletePolicyDistanceRates(policyID: string, customUnit: CustomUnit, rat
};
} else {
optimisticRates[rateID] = currentRates[rateID];
successRates[rateID] = currentRates[rateID];
successRates[rateID] = {
...currentRates[rateID],
pendingAction: null,
};
}
}

Expand Down

0 comments on commit dfddcb9

Please sign in to comment.