Skip to content

Commit

Permalink
fix: display received file.s once finished
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <m@rtin.fyi>
  • Loading branch information
Martichou committed Jun 20, 2024
1 parent f6c0a58 commit 505258c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@
<p class="mt-2">
Received <span v-if="!item.files && item.destination">link</span>
</p>
<p v-if="item.destination" :class="{'overflow-hidden whitespace-nowrap text-ellipsis': !item.files}">
<p v-for="f in item.files ?? []" :key="f" class="overflow-hidden whitespace-nowrap text-ellipsis">
{{ f }}
</p>
<p v-if="item.destination" :class="{'overflow-hidden whitespace-nowrap text-ellipsis': !item.files, 'mt-2': item.files}">
<span v-if="item.files">Saved to </span>{{ item.destination }}
</p>
<div class="flex flex-row justify-end gap-4 mt-1">
Expand Down

0 comments on commit 505258c

Please # to comment.