Bug fix for access denied message. Better formatting and extra Cancel edit button

This commit is contained in:
Scott Idem
2025-09-08 15:21:43 -04:00
parent 92a00ddee9
commit 88c4f4e891
3 changed files with 32 additions and 3 deletions

View File

@@ -2088,7 +2088,13 @@ $effect(() => {
{/if}
<div class="ae_section ae_options ae_row ae_actions event__options event__actions"> <!-- BEGIN: section event__options -->
<div
class="
ae_section ae_options ae_row ae_actions event__options event__actions
flex flex-row flex-wrap gap-2 items-center justify-between w-full
"
> <!-- BEGIN: section event__options -->
<span class="flex flex-row flex-wrap gap-1 items-center justify-center">
{#if $idaa_slct.event_id}
<button
type="submit"
@@ -2182,6 +2188,29 @@ $effect(() => {
</button>
{/if}
{/if}
</span>
<span>
<button
type="button"
class="
novi_btn
btn btn-sm
preset-filled-warning-200-800 hover:preset-filled-success-200-800
transition
"
onclick={() => {
$idaa_sess.recovery_meetings.edit__event_obj = false;
if (log_lvl) {
console.log(`Toggle edit__event_obj: ${$idaa_sess.recovery_meetings.edit__event_obj}`);
}
}}
title="View this Recovery Meeting"
>
<!-- <span class="far fa-window-close m-1"></span> -->
<span class="fas fa-times m-1 text-neutral-800/80"></span>
Cancel Edit
</button>
</span>
</div>
</form>