Minor updates before going live with the archives.
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
// *** Import Svelte core
|
// *** Import Svelte core
|
||||||
import { onMount } from 'svelte';
|
|
||||||
|
|
||||||
// *** Import Aether core variables and functions
|
// *** Import Aether core variables and functions
|
||||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
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_trigger: any = null;
|
||||||
// let ae_triggers: key_val = {};
|
// 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.
|
// Reminder: Styling is being done with Tailwind CSS, not Bootstrap.
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -47,7 +25,9 @@ let ae_trigger: any = null;
|
|||||||
<header class="ae_header archive__header">
|
<header class="ae_header archive__header">
|
||||||
<h2 class="archive__name h3">
|
<h2 class="archive__name h3">
|
||||||
{@html $lq__archive_obj?.name ?? 'Loading...'}
|
{@html $lq__archive_obj?.name ?? 'Loading...'}
|
||||||
({$lq__archive_content_obj_li?.length ?? '0'}×)
|
{#if $ae_loc.trusted_access}
|
||||||
|
({$lq__archive_content_obj_li?.length ?? '0'}×)
|
||||||
|
{/if}
|
||||||
{#await $idaa_prom.load__archive_content_obj_li}
|
{#await $idaa_prom.load__archive_content_obj_li}
|
||||||
<span class="fas fa-spinner fa-spin"></span>
|
<span class="fas fa-spinner fa-spin"></span>
|
||||||
{:then}
|
{:then}
|
||||||
@@ -245,7 +225,7 @@ let ae_trigger: any = null;
|
|||||||
|
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
disabled={!$ae_loc.administrator_access}
|
disabled={!$ae_loc.trusted_access}
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
// $idaa_slct.archive_id = $lq__archive_obj?.archive_id_random;
|
// $idaa_slct.archive_id = $lq__archive_obj?.archive_id_random;
|
||||||
// $lq__archive_obj? = $lq__archive_obj?;
|
// $lq__archive_obj? = $lq__archive_obj?;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ var requestOptions = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let novi_api_get_customer_endpoint = `${novi_api_root_url}/customers/${novi_customer_uid}`;
|
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)
|
fetch(novi_api_get_customer_endpoint, requestOptions)
|
||||||
// .then(response => response.text())
|
// .then(response => response.text())
|
||||||
|
|||||||
Reference in New Issue
Block a user