More clean up. Probably wrapping up for the day. Why are so many people so dumb, or they just don't seem to care.

This commit is contained in:
Scott Idem
2024-11-06 17:08:39 -05:00
parent 7e6b00c0eb
commit b381cbbc9e
4 changed files with 89 additions and 122 deletions

View File

@@ -113,13 +113,21 @@ $: lq__post_comment_obj = liveQuery(async () => {
// url.searchParams.set('post_id', $lq__post_obj?.post_id_random);
// history.pushState({}, '', url);
$idaa_sess.bb.show__modal_view = false;
$idaa_sess.bb.show__inline_edit__post_obj = true;
// $idaa_sess.bb.show__modal_view = false;
if ($idaa_sess.bb.show__inline_edit__post_obj) {
$idaa_sess.bb.show__inline_edit__post_obj = false;
} else {
$idaa_sess.bb.show__inline_edit__post_obj = true;
}
}}
class="btn btn-sm variant-ghost-warning hover:variant-filled-warning transition"
title={`Edit meeting: ${$lq__post_obj?.title}`}
>
<span class="fas fa-edit m-1"></span> Edit
{#if $idaa_sess.bb.show__inline_edit__post_obj}
<span class="fas fa-times m-1"></span> Cancel Edit
{:else}
<span class="fas fa-edit m-1"></span> Edit
{/if}
</button>
{/if}
{$lq__post_obj?.title}