progress bar + better ui
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
} from '@/src/lib/actions.js';
|
||||
import { adminHash } from '@/src/lib/config.js';
|
||||
import { all, get, runCleanupIfNeeded } from '@/src/lib/db.js';
|
||||
import { sharedLinkName } from '@/src/lib/files.js';
|
||||
import {
|
||||
formatBytes,
|
||||
formatCountdown,
|
||||
@@ -152,7 +153,8 @@ export default async function AdminDashboardPage({ searchParams }) {
|
||||
</thead>
|
||||
<tbody>
|
||||
{allUploads.map((item) => {
|
||||
const sharePath = `/_share/${encodeURIComponent(item.stored_name)}`;
|
||||
const shareName = sharedLinkName(item.stored_name);
|
||||
const sharePath = `/_share/${encodeURIComponent(shareName)}`;
|
||||
return (
|
||||
<tr key={item.id}>
|
||||
<td>{item.owner}</td>
|
||||
|
||||
Reference in New Issue
Block a user