Fix test for list-editor
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Skip query check when no text is set
This commit is contained in:
parent
685fc26839
commit
38f3c58da9
|
@ -455,7 +455,7 @@ function Store(inputData) {
|
|||
|
||||
let removeLevel = 9999999999;
|
||||
_.each(inputData, (d) => {
|
||||
if (d.text.startsWith("{{query:")) {
|
||||
if (d.text && d.text.startsWith("{{query:")) {
|
||||
removeLevel = d.indented;
|
||||
append(d)
|
||||
} else if (d.indented <= removeLevel) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user