From 4441ecd0f5f458b70349deead6c516281151f4bc Mon Sep 17 00:00:00 2001 From: Nick Mitchell Date: Fri, 4 Jun 2021 15:41:30 -0400 Subject: [PATCH] regression: when rerunning blocks, output always scrolls to bottom (part b) part of #7527 --- .../src/components/Views/Terminal/Block/BlockModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugin-client-common/src/components/Views/Terminal/Block/BlockModel.ts b/plugins/plugin-client-common/src/components/Views/Terminal/Block/BlockModel.ts index c106ed0b4f6..c4bcac57c90 100644 --- a/plugins/plugin-client-common/src/components/Views/Terminal/Block/BlockModel.ts +++ b/plugins/plugin-client-common/src/components/Views/Terminal/Block/BlockModel.ts @@ -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 */