Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix failing test

TzeYiinge15678ea4a32
diff --git a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
index 3501297a92e..4d078dcc3b2 100644
--- a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
@@ -170,12 +170,12 @@ export const LogsPreviewer: React.FC<Props> = ({ projectRef, queryType, override
}
>
<div className={condensedLayout ? 'px-4' : ''}>
- <LogEventChart
+ {showChart && <LogEventChart
data={!isLoading ? logData : undefined}
onBarClick={(timestampMicro) => {
handleSearch({ query: filters.search_query, toMicro: timestampMicro })
}}
- />
+ />}
</div>
</div>
<div className="flex flex-col flex-grow relative pt-4">