diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/callsTableQuery.ts b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/callsTableQuery.ts index 980453a90692..a30928b70b59 100644 --- a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/callsTableQuery.ts +++ b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/callsTableQuery.ts @@ -97,6 +97,7 @@ export const useCallsForQuery = ( ); const costCols = useMemo(() => ['id'], []); + const noCalls = calls.result == null || calls.result.length === 0; const costs = useCalls( entity, project, @@ -108,7 +109,7 @@ export const useCallsForQuery = ( costCols, expandedColumns, { - skip: calls.loading, + skip: calls.loading || noCalls, includeCosts: true, } );