We can now see a list of archive content and it doesn't look terrible.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user