Fix builder throwing error on empty URL
TODO: clean up dirty flags
This commit is contained in:
parent
2000d381a8
commit
94b67115aa
2 changed files with 3 additions and 3 deletions
|
@ -1428,7 +1428,7 @@
|
|||
<script type="text/javascript" src="../js/sq2items.js"></script>
|
||||
<script type="text/javascript" src="../js/optimize.js"></script>
|
||||
|
||||
<div id="graph_body" class="container-fluid me-4" style="max-width: 95%;">
|
||||
<div id="graph_body" style="max-width: 95%; height: 100vh">
|
||||
</div>
|
||||
<script src="https://d3js.org/d3.v7.js"></script>
|
||||
<script type="text/javascript" src="../js/render_compute_graph.js"></script>
|
||||
|
|
|
@ -93,9 +93,9 @@ class ComputeNode {
|
|||
this.inputs.push(parent_node)
|
||||
link_name = (link_name !== undefined) ? link_name : parent_node.name;
|
||||
this.input_translation.set(parent_node.name, link_name);
|
||||
this.inputs_dirty.set(parent_node.name, parent_node.dirty);
|
||||
if (parent_node.dirty) {
|
||||
if (parent_node.dirty || (parent_node.value === null && !this.fail_cb)) {
|
||||
this.inputs_dirty_count += 1;
|
||||
this.inputs_dirty.set(parent_node.name, true);
|
||||
}
|
||||
parent_node.children.push(this);
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue