feat: all trace now open in new tab (#1662)

This commit is contained in:
Palash Gupta 2022-10-26 12:53:47 +05:30 committed by GitHub
parent c9363586e1
commit 46050a217c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@ import Table, { ColumnsType } from 'antd/lib/table';
import ROUTES from 'constants/routes';
import dayjs from 'dayjs';
import duration from 'dayjs/plugin/duration';
import history from 'lib/history';
import omit from 'lodash-es/omit';
import React from 'react';
import { useDispatch, useSelector } from 'react-redux';
@ -195,7 +194,7 @@ function TraceTable(): JSX.Element {
onClick: (event): void => {
event.preventDefault();
event.stopPropagation();
history.push(getLink(record));
window.open(getLink(record));
},
})}
pagination={{