diff --git a/frontend/app/components/shared/FetchDetailsModal/FetchDetailsModal.js b/frontend/app/components/shared/FetchDetailsModal/FetchDetailsModal.js index 47d7d487d..6f3ad549e 100644 --- a/frontend/app/components/shared/FetchDetailsModal/FetchDetailsModal.js +++ b/frontend/app/components/shared/FetchDetailsModal/FetchDetailsModal.js @@ -137,19 +137,26 @@ export default class FetchDetailsModal extends React.PureComponent { } = this.props; const { activeTab, tabs } = this.state; + const _duration = parseInt(duration) + console.log('_duration', _duration); + return (
{'URL'}
{url}
-
-
-
Method
-
{method}
-
-
-
Duration
-
{parseInt(duration)} ms
-
+
+ {method && ( +
+
Method
+
{method}
+
+ )} + {!!_duration && ( +
+
Duration
+
{_duration } ms
+
+ )}