fix: error loading row data by multiple search panel in dashboard (#1472)

This commit is contained in:
Minha, Jeong 2025-12-13 06:52:10 +09:00 committed by GitHub
parent 922949ac7e
commit ae4c8765e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---
fix: error loading row data by multiple search panel in dashboard

View file

@ -59,7 +59,7 @@ export default function DBSqlRowTableWithSideBar({
}: Props) {
const { data: sourceData } = useSource({ id: sourceId });
const [rowId, setRowId] = useQueryState('rowWhere');
const [, setRowSource] = useQueryState('rowSource');
const [rowSource, setRowSource] = useQueryState('rowSource');
const onOpenSidebar = useCallback(
(rowWhere: string) => {
@ -88,7 +88,7 @@ export default function DBSqlRowTableWithSideBar({
return (
<RowSidePanelContext.Provider value={context ?? {}}>
{sourceData && (
{sourceData && (rowSource === sourceId || !rowSource) && (
<DBRowSidePanel
source={sourceData}
rowId={rowId ?? undefined}