Skip to content

Commit

Permalink
Merge pull request #211 from SFTtech/milo/fix-position-copy-web
Browse files Browse the repository at this point in the history
fix(web): copied positions retained original position id
  • Loading branch information
mikonse authored Mar 2, 2024
2 parents 17fba1c + d431c7c commit ccb3abb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,8 @@ const transactionSlice = createSlice({
state.nextLocalPositionId = positionId - 1;
wipTransaction.position_ids.push(positionId);
wipTransaction.positions[positionId] = {
id: positionId,
...position,
id: positionId,
deleted: false,
only_local: true,
is_changed: true,
Expand Down

0 comments on commit ccb3abb

Please sign in to comment.