Skip to content

Commit

Permalink
show file transfer percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Dec 8, 2024
1 parent e5e78ff commit 831c1f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/pages/NodeFilesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@
<div class="mr-auto">
<div class="font-semibold">{{ fileTransfer.filename }}</div>
<div class="text-sm text-gray-500">{{ fileTransfer.filesize }} bytes</div>
<div class="text-sm text-gray-500">Status: {{ fileTransfer.status }}</div>
<div class="text-sm text-gray-500 space-x-1">
<span>Status: {{ fileTransfer.status }}</span>
<span v-if="fileTransfer.status === 'sending' || fileTransfer.status === 'receiving'">{{ fileTransfer.progress }}%</span>
</div>
</div>

<!-- incoming file transfer offer -->
Expand Down

0 comments on commit 831c1f5

Please sign in to comment.