We can now see a list of archive content and it doesn't look terrible.

This commit is contained in:
Scott Idem
2024-11-06 13:15:16 -05:00
parent b9698615be
commit 80965167a5
13 changed files with 603 additions and 15 deletions

View File

@@ -44,9 +44,9 @@ $: lq__archive_obj = liveQuery(async () => {
});
$: lq__archive_content_obj_li = liveQuery(async () => {
let results = await db_posts.comment
.where('post_id')
.equals($idaa_slct.post_id)
let results = await db_archives.content
.where('archive_id')
.equals($idaa_slct.archive_id)
.reverse()
.sortBy('updated_on');
// .sortBy('title');
@@ -55,7 +55,7 @@ $: lq__archive_content_obj_li = liveQuery(async () => {
});
$: lq__archive_content_obj = liveQuery(async () => {
let results = await db_posts.comment
let results = await db_archives.content
.get($idaa_slct.archive_content_id);
return results;