Minor updates before going live with the archives.

This commit is contained in:
Scott Idem
2024-11-26 10:53:49 -05:00
parent 5796ff09a1
commit 12b761e127
2 changed files with 5 additions and 25 deletions

View File

@@ -1,6 +1,5 @@
<script lang="ts">
// *** Import Svelte core
import { onMount } from 'svelte';
// *** Import Aether core variables and functions
import { ae_util } from '$lib/ae_utils/ae_utils';
@@ -17,27 +16,6 @@ export let lq__archive_content_obj_li: any;
let ae_trigger: any = null;
// let ae_triggers: key_val = {};
// Updated 2024-10-01
// $: if (ae_trigger == 'load__event_obj_li') {
// if (log_lvl) {
// console.log('*** TEST SEARCH - load__event_obj_li == load__event_obj_li ***');
// }
// ae_trigger = null;
// if ($idaa_sess.recovery_meetings.qry_status == 'loading') {
// console.log('*** $idaa_sess.recovery_meetings.qry_status == loading ***');
// setTimeout(() => {
// console.log("Delayed for X second.");
// // ae_trigger = null;
// handle_qry__event({ft_qry_str: $idaa_loc.recovery_meetings.qry__fulltext_str});
// }, 250);
// } else {
// console.log('*** $idaa_sess.recovery_meetings.qry_status != loading ***');
// // ae_trigger = null;
// handle_qry__event({ft_qry_str: $idaa_loc.recovery_meetings.qry__fulltext_str});
// }
// }
// Reminder: Styling is being done with Tailwind CSS, not Bootstrap.
</script>
@@ -47,7 +25,9 @@ let ae_trigger: any = null;
<header class="ae_header archive__header">
<h2 class="archive__name h3">
{@html $lq__archive_obj?.name ?? 'Loading...'}
({$lq__archive_content_obj_li?.length ?? '0'}&times;)
{#if $ae_loc.trusted_access}
({$lq__archive_content_obj_li?.length ?? '0'}&times;)
{/if}
{#await $idaa_prom.load__archive_content_obj_li}
<span class="fas fa-spinner fa-spin"></span>
{:then}
@@ -245,7 +225,7 @@ let ae_trigger: any = null;
<button
type="button"
disabled={!$ae_loc.administrator_access}
disabled={!$ae_loc.trusted_access}
on:click={() => {
// $idaa_slct.archive_id = $lq__archive_obj?.archive_id_random;
// $lq__archive_obj? = $lq__archive_obj?;

View File

@@ -40,7 +40,7 @@ var requestOptions = {
};
let novi_api_get_customer_endpoint = `${novi_api_root_url}/customers/${novi_customer_uid}`;
console.log(novi_api_get_customer_endpoint);
// console.log(novi_api_get_customer_endpoint);
fetch(novi_api_get_customer_endpoint, requestOptions)
// .then(response => response.text())