Skip to content

Commit

Permalink
front: timestops: fix operational point removal
Browse files Browse the repository at this point in the history
When an operational point in the timestops table was removed from via, it was removed from the store but not updated in the op list
  • Loading branch information
SharglutDev committed Jul 17, 2024
1 parent 7a4590d commit 5676323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/src/modules/timesStops/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export const formatSuggestedViasToRowVias = (
}
return formattedOps.map((op, i) => {
const pathStep = pathSteps.find((step) => matchPathStepAndOp(step, op));
const { arrival, onStopSignal, name, stopFor, theoreticalMargin } = pathStep || op;
const { name } = pathStep || op;
const { arrival, onStopSignal, stopFor, theoreticalMargin } = pathStep || {};

const isMarginValid = theoreticalMargin ? marginRegExValidation.test(theoreticalMargin) : true;

Expand Down

0 comments on commit 5676323

Please sign in to comment.