Work on file uploads and manage.

This commit is contained in:
Scott Idem
2025-07-22 19:02:16 -04:00
parent 1e94043e19
commit 47eb745f3b
5 changed files with 61 additions and 18 deletions

View File

@@ -69,7 +69,8 @@ let lq__hosted_file_obj_li = $derived(liveQuery(async () => {
results = await db_core.file
.where(dq__where_val)
.equals(dq__where_eq_val)
.sortBy('created_on');
.sortBy('created_on')
;
} else if (file_type == 'video') {
// Handle video/mp4, video/mov, video/webm. If the content type is prefixed with "video/", then it is a video file.
let extension = 'mp4';