Skip to content

Commit

Permalink
Add option to download a pcap of a stream from search result list - f…
Browse files Browse the repository at this point in the history
…ixes #63
  • Loading branch information
spq committed Dec 19, 2023
1 parent 20bfeb2 commit 81c5529
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions web/src/components/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@
<th class="text-left">Bytes</th>
<th class="text-left">Server</th>
<th class="text-left">Bytes</th>
<th class="text-right">Time</th>
<th class="text-right pr-0">Time</th>
<th style="width: 0" class="px-0"></th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -252,11 +253,16 @@
}}</span>
</td>
<td
class="text-right"
class="text-right pr-0"
:title="stream.Stream.FirstPacket | formatDateLong"
>
{{ stream.Stream.FirstPacket | formatDate }}
</td>
<td style="width: 0" class="px-0">
<v-btn :href="`/api/download/${stream.Stream.ID}.pcap`" icon @click.native.stop>
<v-icon>mdi-download</v-icon>
</v-btn>
</td>
</tr>
</router-link>
</tbody>
Expand Down

0 comments on commit 81c5529

Please sign in to comment.