File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { EmptyPanel } from '../panels/empty-panel';
22import { TabularPanel } from '../panels/tabular-panel' ;
33import * as Utils from '../utils' ;
44import { Toggler } from '../components/toggler' ;
5+ import { Icon } from '../components/icon' ;
56import { Warning } from '../components/warning' ;
67import { getCallerCol , getComponentCol } from '../table' ;
78import { Time } from '../components/time' ;
@@ -64,6 +65,11 @@ export const HTTP = ( { data }: PanelProps<DataTypes['http']> ) => {
6465 </ div >
6566 ) }
6667 { Utils . formatURL ( row . url ) }
68+ { row . args . method === 'GET' && ! hasInterceptedWarning ( row ) && (
69+ < a className = "qm-external-link" href = { row . url } target = "_blank" rel = "noopener noreferrer" aria-label = { __ ( 'Open URL in new tab' , 'query-monitor' ) } >
70+ < Icon name = "external" />
71+ </ a >
72+ ) }
6773 { hasHttpsWarning ( row ) && (
6874 < div >
6975 < Warning >
You can’t perform that action at this time.
0 commit comments