mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
remove rendundant loading shimmer
This commit is contained in:
1 parent
b2d0e01ea3
commit
2302a536bb
1 file changed
+8
-7
@@ -170,16 +170,17 @@ export const LogsPreviewer: React.FC<Props> = ({ projectRef, queryType, override
|
||||
}
|
||||
>
|
||||
<div className={condensedLayout ? 'px-4' : ''}>
|
||||
{showChart && <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">
|
||||
{isLoading && <div className="logs-shimmering-loader w-full h-0.5"></div>}
|
||||
<ShimmerLine active={isLoading} />
|
||||
<LoadingOpacity active={isLoading}>
|
||||
<LogTable data={logData} queryType={queryType} />
|
||||
|
||||
Reference in new issue
Block a user