Skip to content

Commit

Permalink
Merge pull request #1344 from appwrite/fix-pending-file
Browse files Browse the repository at this point in the history
Update how pending uploads look
  • Loading branch information
stnguyen90 committed Sep 9, 2024
2 parents 1427a71 + c2c7866 commit 1d3c275
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,14 @@
<TableCellHead onlyDesktop width={140}>Type</TableCellHead>
<TableCellHead onlyDesktop width={100}>Size</TableCellHead>
<TableCellHead onlyDesktop width={120}>Created</TableCellHead>
<TableCellHead width={30} />
<TableCellHead width={40} />
</TableHeader>
<TableBody>
{#each data.files.files as file, index}
{#if file.chunksTotal / file.chunksUploaded !== 1}
<TableRow>
<TableCell title="Name">
<div class="u-flex u-gap-12 u-main-space-between u-cross-center">
<div class="u-flex u-gap-12 u-cross-center">
<span class="avatar is-size-small is-color-empty" />

<span class="text u-trim">{file.name}</span>
Expand All @@ -172,12 +172,6 @@
</TableCellText>
<TableCell>
<div class="u-flex u-main-center">
<button
class="button is-only-icon is-text"
aria-label="Delete item"
on:click|preventDefault>
<span class="icon-refresh" aria-hidden="true" />
</button>
<button
class="button is-only-icon is-text"
aria-label="Delete item"
Expand Down

0 comments on commit 1d3c275

Please sign in to comment.