Update page.mdx (#10847)
Updated the if-else example condition for when input.is_active is false.
This commit is contained in:
1 parent
4c0546a8e9
commit
333ed538f5
1 file changed
+1
-1
@@ -109,7 +109,7 @@ const workflow = createWorkflow(
|
||||
const notIsActiveResult = when(
|
||||
input,
|
||||
(input) => {
|
||||
return input.is_active
|
||||
return !input.is_active
|
||||
}
|
||||
).then(() => {
|
||||
return notIsActiveStep()
|
||||
|
||||
Reference in new issue
Block a user