1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix render-storm in Events

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-02-02 14:50:08 +02:00
parent 9f7d3ba344
commit 386823bab7
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -124,7 +124,7 @@ export class Events extends React.Component<Props> {
};
render() {
const { store, visibleItems } = this;
const { store } = this;
const { compact, compactLimit, className, ...layoutProps } = this.props;
const events = (
@ -137,7 +137,7 @@ export class Events extends React.Component<Props> {
renderHeaderTitle="Events"
customizeHeader={this.customizeHeader}
isSelectable={false}
items={visibleItems}
getItems={() => this.visibleItems}
virtual={!compact}
tableProps={{
sortSyncWithUrl: false,