We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c197235 commit d22ad40Copy full SHA for d22ad40
src/Renderer/QueryResultsRenderer.ts
@@ -257,13 +257,13 @@ export class QueryResultsRenderer {
257
258
if (!closestParent) {
259
return false;
260
- } else {
261
- if (!renderedTasks.has(closestParent)) {
262
- // This task is a direct or indirect child of another task that we are waiting to draw,
263
- // so don't draw it yet, it will be done recursively later.
264
- if (tasks.includes(closestParent)) {
265
- return true;
266
- }
+ }
+
+ if (!renderedTasks.has(closestParent)) {
+ // This task is a direct or indirect child of another task that we are waiting to draw,
+ // so don't draw it yet, it will be done recursively later.
+ if (tasks.includes(closestParent)) {
+ return true;
267
}
268
269
0 commit comments