diff --git a/frontend/components/Editor.js b/frontend/components/Editor.js index 7070c992fe..af69e81dcc 100644 --- a/frontend/components/Editor.js +++ b/frontend/components/Editor.js @@ -809,7 +809,7 @@ patch: ${JSON.stringify( // console.debug("Received patches!", is_just_acknowledgement, is_relevant_for_bonds, message.patches, message.response) - if (!is_just_acknowledgement) { + if (!is_just_acknowledgement && is_relevant_for_bonds) { this.waiting_for_bond_to_trigger_execution = false } } @@ -1021,7 +1021,9 @@ patch: ${JSON.stringify( if (deps.upstream_cells_map.hasOwnProperty(sym)) { // and the cell is not disabled const running_disabled = this.state.notebook.cell_inputs[cell_id].metadata.disabled - return !running_disabled + // or indirectly disabled + const indirectly_disabled = this.state.notebook.cell_results[cell_id].depends_on_disabled_cells + return !(running_disabled || indirectly_disabled) } })