From 82868b9f8da236313b150afa09bd1b50c4582979 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Thu, 3 Nov 2022 10:43:34 -0500 Subject: [PATCH] Feedback from code reviews --- src/qqq/pages/entity-list/EntityList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qqq/pages/entity-list/EntityList.tsx b/src/qqq/pages/entity-list/EntityList.tsx index 49c8d9a..0fe2b7c 100644 --- a/src/qqq/pages/entity-list/EntityList.tsx +++ b/src/qqq/pages/entity-list/EntityList.tsx @@ -985,7 +985,6 @@ function EntityList({table, launchProcess}: Props): JSX.Element // @ts-ignore const defaultLabelDisplayedRows = ({from, to, count}) => { - console.log(`In defaultLabelDisplayedRows with ${from} ${to} ${count}`); if(tableMetaData && !tableMetaData.capabilities.has(Capability.TABLE_COUNT)) { //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -1190,7 +1189,7 @@ function EntityList({table, launchProcess}: Props): JSX.Element Bulk Delete } - {tableProcesses.length > 0 && } + {(table.capabilities.has(Capability.TABLE_INSERT) || table.capabilities.has(Capability.TABLE_UPDATE) || table.capabilities.has(Capability.TABLE_DELETE)) && tableProcesses.length > 0 && } {tableProcesses.map((process) => ( processClicked(process)}> {process.iconName ?? "arrow_forward"}