Skip to content

Commit

Permalink
regression: when rerunning blocks, output always scrolls to bottom (p…
Browse files Browse the repository at this point in the history
…art b)

part of kubernetes-sigs#7527
  • Loading branch information
starpit committed Jun 4, 2021
1 parent 4e360a9 commit e082f78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export function hasOriginalUUID(block: BlockModel | WithOriginalExecUUID): block
}

export function hasBeenRerun(block: BlockModel): boolean {
return hasOriginalUUID(block)
return hasOriginalUUID(block) && hasUUID(block) && block.originalExecUUID !== block.execUUID
}

/** Transform to Processing */
Expand Down

0 comments on commit e082f78

Please sign in to comment.