Bug fix for Journal Entry view
This commit is contained in:
@@ -1050,7 +1050,7 @@ $effect(() => {
|
|||||||
<!-- Entry alert status -->
|
<!-- Entry alert status -->
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class:hidden={$lq__journal_obj.cfg_json?.hide_btn_alert}
|
class:hidden={$lq__journal_obj?.cfg_json?.hide_btn_alert}
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
tmp_entry_obj.alert = !$lq__journal_entry_obj?.alert;
|
tmp_entry_obj.alert = !$lq__journal_entry_obj?.alert;
|
||||||
update_journal_entry();
|
update_journal_entry();
|
||||||
@@ -1087,7 +1087,7 @@ $effect(() => {
|
|||||||
<!-- Only show this private toggle if not private or in edit mode. -->
|
<!-- Only show this private toggle if not private or in edit mode. -->
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class:hidden={($lq__journal_obj.cfg_json?.hide_btn_private) || (tmp_entry_obj?.private && !$ae_loc.edit_mode)}
|
class:hidden={($lq__journal_obj?.cfg_json?.hide_btn_private) || (tmp_entry_obj?.private && !$ae_loc.edit_mode)}
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
// Allow for toggle between private (encrypted) and not,
|
// Allow for toggle between private (encrypted) and not,
|
||||||
// and if private, allow for decryption.
|
// and if private, allow for decryption.
|
||||||
@@ -1198,7 +1198,7 @@ $effect(() => {
|
|||||||
<!-- Entry allowed to be public -->
|
<!-- Entry allowed to be public -->
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class:hidden={$lq__journal_obj.cfg_json?.hide_btn_public}
|
class:hidden={$lq__journal_obj?.cfg_json?.hide_btn_public}
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
tmp_entry_obj.public = !$lq__journal_entry_obj?.public;
|
tmp_entry_obj.public = !$lq__journal_entry_obj?.public;
|
||||||
update_journal_entry();
|
update_journal_entry();
|
||||||
@@ -1216,7 +1216,7 @@ $effect(() => {
|
|||||||
<!-- Entry marked as personal -->
|
<!-- Entry marked as personal -->
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class:hidden={$lq__journal_obj.cfg_json?.hide_btn_personal}
|
class:hidden={$lq__journal_obj?.cfg_json?.hide_btn_personal}
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
tmp_entry_obj.personal = !$lq__journal_entry_obj?.personal;
|
tmp_entry_obj.personal = !$lq__journal_entry_obj?.personal;
|
||||||
update_journal_entry();
|
update_journal_entry();
|
||||||
@@ -1234,7 +1234,7 @@ $effect(() => {
|
|||||||
<!-- Entry marked as professional -->
|
<!-- Entry marked as professional -->
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class:hidden={$lq__journal_obj.cfg_json?.hide_btn_professional}
|
class:hidden={$lq__journal_obj?.cfg_json?.hide_btn_professional}
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
tmp_entry_obj.professional = !$lq__journal_entry_obj?.professional;
|
tmp_entry_obj.professional = !$lq__journal_entry_obj?.professional;
|
||||||
update_journal_entry();
|
update_journal_entry();
|
||||||
@@ -1328,7 +1328,7 @@ $effect(() => {
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<!-- Entry alert status -->
|
<!-- Entry alert status -->
|
||||||
<!-- class:hidden={$lq__journal_obj.cfg_json?.hide_btn_alert} -->
|
<!-- class:hidden={$lq__journal_obj?.cfg_json?.hide_btn_alert} -->
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
@@ -1346,7 +1346,7 @@ $effect(() => {
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Entry marked as private -->
|
<!-- Entry marked as private -->
|
||||||
<!-- ($lq__journal_obj.cfg_json?.hide_btn_private) || -->
|
<!-- ($lq__journal_obj?.cfg_json?.hide_btn_private) || -->
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class:hidden={(tmp_entry_obj?.private && !$ae_loc.edit_mode)}
|
class:hidden={(tmp_entry_obj?.private && !$ae_loc.edit_mode)}
|
||||||
|
|||||||
Reference in New Issue
Block a user