diff --git a/packages/dashboard/src/pages/index.js b/packages/dashboard/src/pages/index.js index e36575d3..1c15465f 100644 --- a/packages/dashboard/src/pages/index.js +++ b/packages/dashboard/src/pages/index.js @@ -131,26 +131,43 @@ export default function Home() {
{item.name || item.skylink}
-- {/* Heroicon name: solid/users */} + {downloads?.items?.length ? ( + downloads.items.slice(0, 3).map((item) => ( +
{item.name || item.skylink}
++ {/* Heroicon name: solid/users */} + + {prettyBytes(item.size)} +
+no downloads yet
+{item.name || item.skylink}
-- {/* Heroicon name: solid/users */} + {uploads?.items?.length ? ( + uploads.items.slice(0, 3).map((item) => ( +
{item.name || item.skylink}
++ {/* Heroicon name: solid/users */} + + {prettyBytes(item.size)} +
+no uploads yet
+