Skip to content

Commit

Permalink
patched criteria evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
adranwit committed May 1, 2024
1 parent 2b78777 commit 201dfa5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.74.3
0.74.4
5 changes: 4 additions & 1 deletion model/variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ type Variable struct {
func (v *Variable) getValueFromInput(in data.Map) (interface{}, error) {
var value interface{}
from := v.From
if from == "" {
if from == "" && v.Value == nil {
from = v.Name
}
if from == "" && v.When != "" {
from = v.Name
}
if from != "" {
Expand Down

0 comments on commit 201dfa5

Please sign in to comment.