Repository navigation
Commit 45de701
authored
Fix a failure to reveal a key when all section keys have dependancies (#26)
Given the follownig scenario.
"mysection": {
"type": "section",
"title": "MyTitle",
"keys": [
"key1_revealed_on_condition_false",
"key2_revealed_on_condition_false",
"key3_revealed_on_condition_true",
"key4_revealed_on_condition_true"
]
},
If the condition is "true" then keys 3 & 4 should be shown, but the bug causes key4 not to get drawn.
If the condition is "false" then keys 1 & 2 are shown correctly.
If a fifth key is added that does not define a dependancy then the problem does not occur.1 parent e72db3a commit 45de701
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments