From c30ddcb036fd00d18432de1fd157e1a5feae160b Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 15 Apr 2021 08:44:17 -0400 Subject: [PATCH] remove isReady from renderInfo Signed-off-by: Sebastian Malton --- .../components/item-object-list/item-list-layout.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/renderer/components/item-object-list/item-list-layout.tsx b/src/renderer/components/item-object-list/item-list-layout.tsx index 67b83e5cd4..b609b046ea 100644 --- a/src/renderer/components/item-object-list/item-list-layout.tsx +++ b/src/renderer/components/item-object-list/item-list-layout.tsx @@ -351,14 +351,10 @@ export class ItemListLayout extends React.Component { } renderInfo() { - const { items, isReady, filters } = this; + const { items, filters } = this; const allItemsCount = this.props.store.getTotalCount(); const itemsCount = items.length; - if (!isReady) { - return "?? items"; - } - if (filters.length > 0) { return ( <>Filtered: {itemsCount} / {allItemsCount}