Skip to content

Commit

Permalink
Respect BASE_URL in Trace Tabular View
Browse files Browse the repository at this point in the history
Fix #847

Signed-off-by: Zixian Cai <2891235+caizixian@users.noreply.github.com>
  • Loading branch information
caizixian committed Jan 4, 2022
1 parent 1dd5ec9 commit 5c5447b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import './index.css';
import { TNil } from '../../../types';
import { Trace, Span } from '../../../types/trace';
import { timeConversion } from '../../../utils/date';
import prefixUrl from '../../../utils/prefix-url';

const Option = Select.Option;

Expand Down Expand Up @@ -143,7 +144,7 @@ export default class TraceSpanView extends Component<Props, State> {
dataIndex: 'spanID',
render: (text: any, record: Span) => {
return (
<a href={`/trace/${record.traceID}?uiFind=${text}`} target="_blank" rel="noopener noreferrer">
<a href={prefixUrl(`/trace/${record.traceID}?uiFind=${text}`)} target="_blank" rel="noopener noreferrer">
{text}
</a>
);
Expand Down

0 comments on commit 5c5447b

Please sign in to comment.