TraceView: Don't require preferredVisualisationType to render (#64920)

This commit is contained in:
Andrej Ocenas
2023-03-23 10:27:34 +01:00
committed by GitHub
parent 0464aebc8e
commit d10ce5a122
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ export function TraceView(props: Props) {
return (
<>
{props.dataFrames?.length && props.dataFrames[0]?.meta?.preferredVisualisationType === 'trace' && traceProp ? (
{props.dataFrames?.length && traceProp ? (
<>
{config.featureToggles.newTraceView ? (
<NewTracePageHeader

View File

@@ -40,7 +40,7 @@ export const TracesPanel = ({ data }: PanelProps) => {
return (
<div className={styles.wrapper}>
<div ref={topOfViewRef}></div>
{data.series[0]?.meta?.preferredVisualisationType === 'trace' && !config.featureToggles.newTraceView ? (
{!config.featureToggles.newTraceView ? (
<TracePageSearchBar
navigable={true}
searchValue={search}