mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
fix: removed originalWhere from SurroundingContext tags (#740)
This commit is contained in:
parent
8d8a50afdf
commit
db761ba150
2 changed files with 7 additions and 9 deletions
5
.changeset/spicy-windows-repeat.md
Normal file
5
.changeset/spicy-windows-repeat.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/app": patch
|
||||
---
|
||||
|
||||
fix: remove originalWhere tag from view. not used anyways
|
||||
|
|
@ -41,10 +41,8 @@ export default function ContextSubpanel({
|
|||
}: ContextSubpanelProps) {
|
||||
const QUERY_KEY_PREFIX = 'context';
|
||||
const { Timestamp: origTimestamp } = rowData;
|
||||
const {
|
||||
where: originalWhere = '',
|
||||
whereLanguage: originalLanguage = 'lucene',
|
||||
} = dbSqlRowTableConfig ?? {};
|
||||
const { whereLanguage: originalLanguage = 'lucene' } =
|
||||
dbSqlRowTableConfig ?? {};
|
||||
const [range, setRange] = useState<number>(ms('30s'));
|
||||
const [contextBy, setContextBy] = useState<ContextBy>(ContextBy.All);
|
||||
const { control, watch } = useForm({
|
||||
|
|
@ -234,11 +232,6 @@ export default function ContextSubpanel({
|
|||
{contextBy}:{CONTEXT_MAPPING[contextBy].value}
|
||||
</Badge>
|
||||
)}
|
||||
{originalWhere && (
|
||||
<Badge size="md" variant="default">
|
||||
{originalWhere}
|
||||
</Badge>
|
||||
)}
|
||||
<Badge size="md" variant="default">
|
||||
Time range: ±{ms(range / 2)}
|
||||
</Badge>
|
||||
|
|
|
|||
Loading…
Reference in a new issue