mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Making statement simpler to read
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
939035a16f
commit
455f035e0d
@ -97,7 +97,7 @@ export class PodLogList extends React.Component<Props> {
|
||||
const { scrollHeight, clientHeight } = this.virtualListDiv.current;
|
||||
const { scrollOffset } = props;
|
||||
|
||||
this.isLastLineVisible = clientHeight + scrollOffset === scrollHeight;
|
||||
this.isLastLineVisible = (clientHeight + scrollOffset) === scrollHeight;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user