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:
parent
9f7d3ba344
commit
386823bab7
@ -124,7 +124,7 @@ export class Events extends React.Component<Props> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { store, visibleItems } = this;
|
const { store } = this;
|
||||||
const { compact, compactLimit, className, ...layoutProps } = this.props;
|
const { compact, compactLimit, className, ...layoutProps } = this.props;
|
||||||
|
|
||||||
const events = (
|
const events = (
|
||||||
@ -137,7 +137,7 @@ export class Events extends React.Component<Props> {
|
|||||||
renderHeaderTitle="Events"
|
renderHeaderTitle="Events"
|
||||||
customizeHeader={this.customizeHeader}
|
customizeHeader={this.customizeHeader}
|
||||||
isSelectable={false}
|
isSelectable={false}
|
||||||
items={visibleItems}
|
getItems={() => this.visibleItems}
|
||||||
virtual={!compact}
|
virtual={!compact}
|
||||||
tableProps={{
|
tableProps={{
|
||||||
sortSyncWithUrl: false,
|
sortSyncWithUrl: false,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user