Skip to content

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

fix: tests

Jonathan Summers-Muir1eb90f9237d3
diff --git a/studio/components/interfaces/Settings/Logs/LogTable.tsx b/studio/components/interfaces/Settings/Logs/LogTable.tsx
index 8efec5b29eb..77881e18329 100644
--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx
@@ -295,11 +295,11 @@ const LogTable = ({
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
- stroke-width="2"
+ strokeWidth="2"
>
<path
- stroke-linecap="round"
- stroke-linejoin="round"
+ strokeLinecap="round"
+ strokeLinejoin="round"
d="M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
diff --git a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
index db718c47e34..731c2a973b6 100644
--- a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
@@ -178,12 +178,14 @@ export const LogsPreviewer: React.FC<Props> = ({
}
>
<div className={condensedLayout ? 'px-4' : ''}>
- <LogEventChart
- data={!isLoading ? logData : undefined}
- onBarClick={(timestampMicro) => {
- handleSearch({ query: filters.search_query, toMicro: timestampMicro })
- }}
- />
+ {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">