Trying to improve the sign in and passcode logic. Also related bug fixes with focus. Made Journal Entries marked as public visible to others.
This commit is contained in:
@@ -114,7 +114,7 @@ let flag_denied: boolean = $state(false); // Access Denied
|
||||
if (!$ae_loc?.sys_menu) {
|
||||
$ae_loc.sys_menu = {
|
||||
hide: false,
|
||||
expand: false,
|
||||
// expand: false,
|
||||
hide_access_type: false,
|
||||
expand_access_type: false,
|
||||
hide_edit_mode: false,
|
||||
@@ -1136,7 +1136,7 @@ email = ${$ae_loc?.email}
|
||||
<E_app_sys_menu
|
||||
data={data}
|
||||
bind:hide={$ae_loc.sys_menu.hide}
|
||||
bind:expand={$ae_loc.sys_menu.expand}
|
||||
bind:expand={$ae_sess.sys_menu.expand}
|
||||
/>
|
||||
|
||||
<!-- The app debug menu -->
|
||||
|
||||
@@ -298,7 +298,7 @@ async function handle_update_journal() {
|
||||
<FilePlus />
|
||||
<!-- <span class="fas fa-plus m-1"></span> -->
|
||||
<span class="hidden sm:inline">
|
||||
New Journal Entry
|
||||
New Entry
|
||||
</span>
|
||||
</button>
|
||||
|
||||
@@ -383,7 +383,7 @@ async function handle_update_journal() {
|
||||
|
||||
<!-- Give list of categories to base the new entry on -->
|
||||
<span class="flex flex-row items-center gap-2">
|
||||
<span class="text-sm text-gray-500 hidden sm:inline">
|
||||
<span class="text-sm text-gray-500 hidden md:inline">
|
||||
Category:
|
||||
</span>
|
||||
<select
|
||||
|
||||
@@ -141,7 +141,7 @@ let lq__journal_entry_obj = $derived(liveQuery(async () => {
|
||||
</svelte:head> -->
|
||||
|
||||
|
||||
{#if $ae_loc.person_id == $lq__journal_obj?.person_id}
|
||||
{#if $ae_loc.person_id == $lq__journal_obj?.person_id || $lq__journal_entry_obj?.public}
|
||||
<section
|
||||
class="
|
||||
ae_journals__journal_entry
|
||||
|
||||
Reference in New Issue
Block a user