chore: routing table nits (#17738)
* portal date preset selection with a high zindex * increase height of data-table * skeleton fixes
This commit is contained in:
1 parent
352a6ba8cf
commit
dfdb04acf4
3 files changed
+6
-4
No files matched your search
@@ -252,7 +252,7 @@ export function RoutingFormResponsesTable({
|
||||
}
|
||||
);
|
||||
|
||||
const { data, fetchNextPage, isFetching, hasNextPage } =
|
||||
const { data, fetchNextPage, isFetching, hasNextPage, isLoading } =
|
||||
trpc.viewer.insights.routingFormResponses.useInfiniteQuery(
|
||||
{
|
||||
teamId: selectedTeamId,
|
||||
@@ -403,10 +403,10 @@ export function RoutingFormResponsesTable({
|
||||
totalDBRowCount
|
||||
);
|
||||
|
||||
if (isHeadersLoading || (isFetching && !data)) {
|
||||
if (isHeadersLoading || ((isFetching || isLoading) && !data)) {
|
||||
return (
|
||||
<div
|
||||
className="grid h-[75dvh]"
|
||||
className="grid h-[85dvh]"
|
||||
style={{ gridTemplateRows: "auto 1fr auto", gridTemplateAreas: "'header' 'body' 'footer'" }}>
|
||||
<div
|
||||
className="scrollbar-thin border-subtle relative h-full overflow-auto rounded-md border"
|
||||
|
||||
Reference in new issue
Block a user