From 455f035e0d1dbdee84dc9bd489822082849637aa Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Wed, 9 Dec 2020 16:08:13 +0300 Subject: [PATCH] Making statement simpler to read Signed-off-by: Alex Andreev --- src/renderer/components/dock/pod-log-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/dock/pod-log-list.tsx b/src/renderer/components/dock/pod-log-list.tsx index b403c055d8..a3ab172a16 100644 --- a/src/renderer/components/dock/pod-log-list.tsx +++ b/src/renderer/components/dock/pod-log-list.tsx @@ -97,7 +97,7 @@ export class PodLogList extends React.Component { const { scrollHeight, clientHeight } = this.virtualListDiv.current; const { scrollOffset } = props; - this.isLastLineVisible = clientHeight + scrollOffset === scrollHeight; + this.isLastLineVisible = (clientHeight + scrollOffset) === scrollHeight; }; /**