Skip to content

Commit

Permalink
fix for timestep (#4922)
Browse files Browse the repository at this point in the history
  • Loading branch information
asylves1 authored Sep 25, 2024
1 parent 55a20d4 commit 8e4498f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const onRemoveStaticIntervention = (index: number) => {
const onAddNewStaticIntervention = () => {
const intervention = cloneDeep(props.intervention);
intervention.staticInterventions.push({
timestep: Number.NaN,
timestep: intervention.staticInterventions[0].timestep,
value: Number.NaN,
appliedTo: '',
type: InterventionSemanticType.Parameter
Expand Down

0 comments on commit 8e4498f

Please sign in to comment.