Commit 073fe2a3 authored by Grand Francois's avatar Grand Francois
Browse files

refactor: Result.hasMessage: iterate on all parent nub children

refs #302
Showing with 1 addition and 1 deletion
+1 -1
...@@ -289,7 +289,7 @@ export class Result extends JalhydObject { ...@@ -289,7 +289,7 @@ export class Result extends JalhydObject {
} }
if (recurs && this._sourceNub !== undefined) { if (recurs && this._sourceNub !== undefined) {
for (const n of this._sourceNub.getChildren()) { for (const n of this._sourceNub.allChildNubIterator()) {
if (n.result.hasMessage(code, true)) { if (n.result.hasMessage(code, true)) {
return true; return true;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment