review feedback
This commit is contained in:
parent
bb7b56776a
commit
62f6a1ed88
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright 2014 The Chromium Authors. All rights reserved.
|
// Copyright 2014 The Chromium Authors. All rights reserved.
|
||||||
|
// Modifications copyright (c) Microsoft Corporation.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ const RequestTab: React.FunctionComponent<{
|
||||||
As cURL: <CopyToClipboard description='Copy as cURL' value={() => generateCurlCommand(resource)}/>
|
As cURL: <CopyToClipboard description='Copy as cURL' value={() => generateCurlCommand(resource)}/>
|
||||||
</div>
|
</div>
|
||||||
<div className='network-request-details-copy'>
|
<div className='network-request-details-copy'>
|
||||||
As Fetch (Browser): <CopyToClipboard description='Copy as Fetch' value={() => generateFetchCall(resource)}/>
|
As Fetch: <CopyToClipboard description='Copy as Fetch' value={() => generateFetchCall(resource)}/>
|
||||||
</div>
|
</div>
|
||||||
{requestBody && <div className='network-request-details-header'>Request Body</div>}
|
{requestBody && <div className='network-request-details-header'>Request Body</div>}
|
||||||
{requestBody && <CodeMirrorWrapper text={requestBody.text} mimeType={requestBody.mimeType} readOnly lineNumbers={true}/>}
|
{requestBody && <CodeMirrorWrapper text={requestBody.text} mimeType={requestBody.mimeType} readOnly lineNumbers={true}/>}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue