mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-15 10:56:09 +08:00
feat: all trace now open in new tab (#1662)
This commit is contained in:
parent
c9363586e1
commit
46050a217c
@ -3,7 +3,6 @@ import Table, { ColumnsType } from 'antd/lib/table';
|
|||||||
import ROUTES from 'constants/routes';
|
import ROUTES from 'constants/routes';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import duration from 'dayjs/plugin/duration';
|
import duration from 'dayjs/plugin/duration';
|
||||||
import history from 'lib/history';
|
|
||||||
import omit from 'lodash-es/omit';
|
import omit from 'lodash-es/omit';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
@ -195,7 +194,7 @@ function TraceTable(): JSX.Element {
|
|||||||
onClick: (event): void => {
|
onClick: (event): void => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
history.push(getLink(record));
|
window.open(getLink(record));
|
||||||
},
|
},
|
||||||
})}
|
})}
|
||||||
pagination={{
|
pagination={{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user