Skip to content

Commit e487bce

Browse files
committed
use entry.connection as index
1 parent 20d417d commit e487bce

File tree

6 files changed

+46
-99
lines changed

6 files changed

+46
-99
lines changed

src/Components/Actions/ResetButton.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const ResetButton = () => {
99
const { actions, callbacks } = useNetwork();
1010

1111
const handleReset = () => {
12+
window.history.pushState({}, document.title, '/');
1213
actions.resetState();
1314
callbacks.onReset();
1415
};

src/styles/variables.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ $size-xxxl: $size-base * 11; // 44px;
105105

106106
// width/height of container
107107
$name-col-width: 300px;
108-
$filters-container-height: 102px;
108+
$filters-container-height: 84px;
109109
$timeline-height: 100px;
110110
$footer-height: 34px;
111111

src/utils.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ export const prepareViewerData = (entries) => {
184184
const lastTimeOfEntry = getTotalTimeOfEntry(entry);
185185
endTime = endTime < lastTimeOfEntry ? lastTimeOfEntry : endTime;
186186
return {
187-
index,
188-
connection: entry.connection,
187+
index: +entry.connection || index,
189188
status: entry.response.status,
190189
method: entry.request.method,
191190
size: parseSize(entry.response),

0 commit comments

Comments
 (0)