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 SavolainenandMikko Aspiala committed 2022-02-02 14:50:08 +02:00
1 parent 9f7d3ba344
commit 386823bab7
1 file changed
+2 -2
+2 -2
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,