diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte index 89058c92..06bc298d 100644 --- a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte +++ b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_li.svelte @@ -34,14 +34,14 @@ let ae_promises: key_val = {}; type="button" class="btn btn-md variant-glass-secondary hover:variant-filled-secondary transition w-96" on:click={() => { - if ($idaa_loc.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group) { - $idaa_loc.archives.show_list__archive_content_li_group = null; + if ($idaa_sess.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group) { + $idaa_sess.archives.show_list__archive_content_li_group = null; } else { - $idaa_loc.archives.show_list__archive_content_li_group = idaa_archive_content_obj.group; + $idaa_sess.archives.show_list__archive_content_li_group = idaa_archive_content_obj.group; } }} > - {#if $idaa_loc.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group} + {#if $idaa_sess.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group} Hide: @@ -57,7 +57,7 @@ let ae_promises: key_val = {}; {/if} -{#if $idaa_loc.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group} +{#if $idaa_sess.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group}
{ {/if} --> - {#if $ae_loc.administrator_access} + {#if $ae_loc.administrator_access && $ae_loc.edit_mode}