Skip to content

Commit df7b8c6

Browse files
committed
feat: add stepVariableId to runtimeParams with fallback to random value
1 parent 5a06759 commit df7b8c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Common/Common.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ export const parseRuntimeParams = (response: RuntimeParamsAPIResponseType): Runt
270270
const runtimeParams = (response?.runtimePluginVariables ?? []).map<RuntimePluginVariables>((variable) => ({
271271
...variable,
272272
defaultValue: variable.value,
273+
stepVariableId: variable.stepVariableId || Math.floor(new Date().valueOf() * Math.random())
273274
}))
274275

275276
runtimeParams.push(...envVariables)

0 commit comments

Comments
 (0)