More work on encryption of content and history.
This commit is contained in:
@@ -45,10 +45,13 @@ let lq__journal_obj_li = $derived(liveQuery(async () => {
|
||||
let results = await db_journals.journal
|
||||
.where('person_id')
|
||||
.equals($ae_loc.person_id)
|
||||
// .sortBy('group')
|
||||
// .sortBy('priority')
|
||||
// .sortBy('sort')
|
||||
.reverse()
|
||||
.sortBy('tmp_sort_2')
|
||||
.sortBy('tmp_sort_3')
|
||||
|
||||
// .orderBy('tmp_sort_2')
|
||||
// .orderBy('tmp_sort_3')
|
||||
// .reverse()
|
||||
// .toArray()
|
||||
|
||||
|
||||
@@ -661,7 +661,7 @@ async function handle_update_journal() {
|
||||
data_kv: data_kv,
|
||||
log_lvl: log_lvl
|
||||
}).then(() => {
|
||||
alert('Journal sort order incremented!');
|
||||
// alert('Journal sort order incremented!');
|
||||
}).catch((error) => {
|
||||
console.error('Error updating journal sort order:', error);
|
||||
alert('Failed to update journal sort order.');
|
||||
@@ -691,7 +691,7 @@ async function handle_update_journal() {
|
||||
data_kv: data_kv,
|
||||
log_lvl: log_lvl
|
||||
}).then(() => {
|
||||
alert('Journal sort order decremented!');
|
||||
// alert('Journal sort order decremented!');
|
||||
}).catch((error) => {
|
||||
console.error('Error updating journal sort order:', error);
|
||||
alert('Failed to update journal sort order.');
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -140,11 +140,11 @@ $effect(() => {
|
||||
{/if}
|
||||
|
||||
{#if (journals_journal_entry_obj.priority)}
|
||||
<Flag size="1.25emem" class="mx-1 inline-block text-yellow-500"/>
|
||||
<Flag size="1.25em" class="mx-1 inline-block text-yellow-500"/>
|
||||
{/if}
|
||||
|
||||
{#if (journals_journal_entry_obj.group)}
|
||||
<Group size="1.25emem" class="mx-1 inline-block text-green-500"/>
|
||||
<Group size="1.25em" class="mx-1 inline-block text-green-500"/>
|
||||
<span class="text-xs text-gray-500 hidden">Group:</span>
|
||||
<span class="font-semibold text-sm text-gray-500 hidden md:inline">
|
||||
{journals_journal_entry_obj.group}
|
||||
|
||||
@@ -48,6 +48,8 @@ let { lq__journal_obj_li }: Props = $props();
|
||||
{/if}
|
||||
</header>
|
||||
|
||||
<!-- {journals_journal_obj?.tmp_sort_3} -->
|
||||
|
||||
{#if journals_journal_obj.description}
|
||||
<div
|
||||
class="
|
||||
|
||||
Reference in New Issue
Block a user