Support drag drop SQL block from assistant to empty custom report (#34930)

This commit is contained in:
Joshen Lim
2025-04-14 16:54:33 +08:00
committed by GitHub
parent 939e5c855a
commit 5a3d00a56e
2 changed files with 97 additions and 14 deletions

View File

@@ -350,7 +350,7 @@ export const QueryBlock = ({
{view === 'chart' && queryResult !== undefined ? (
<>
{(queryResult ?? []).length === 0 ? (
<div className="flex w-full h-full items-center justify-center">
<div className="flex w-full h-full items-center justify-center py-3">
<p className="text-foreground-light text-xs">No results returned from query</p>
</div>
) : !xKey || !yKey ? (