Commit f09dd5e
Use key presence check instead of OptionalParam in UI gate
Check for the "state" key directly in the args map rather than using
OptionalParam and ignoring its error. This ensures that a wrongly-typed
state value bypasses the UI form (falling through to the normal
validation path) instead of silently showing the form.
Co-authored-by: mattdholloway <918573+mattdholloway@users.noreply.github.com>1 parent 50a0461 commit f09dd5e
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1083 | 1083 | | |
1084 | 1084 | | |
1085 | 1085 | | |
1086 | | - | |
1087 | | - | |
| 1086 | + | |
1088 | 1087 | | |
1089 | 1088 | | |
1090 | 1089 | | |
| |||
0 commit comments