Less extra stuff... less log entries and warnings.

This commit is contained in:
Scott Idem
2024-11-20 15:40:50 -05:00
parent f6378c1a23
commit 125ce32ddd
4 changed files with 18 additions and 21 deletions

View File

@@ -1,12 +1,12 @@
<script lang="ts">
export let log_lvl = 1;
import { createEventDispatcher, onDestroy, onMount } from 'svelte';
// import { createEventDispatcher, onDestroy, onMount } from 'svelte';
import { fade } from 'svelte/transition';
import type { key_val } from '$lib/ae_stores';
import { ae_util } from '$lib/ae_utils/ae_utils';
import { core_func } from '$lib/ae_core/ae_core_functions';
import { api } from '$lib/api';
// import { core_func } from '$lib/ae_core/ae_core_functions';
// import { api } from '$lib/api';
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
import { idaa_loc, idaa_sess, idaa_slct } from '$lib/ae_idaa_stores';
import { posts_func } from '$lib/ae_posts/ae_posts_functions';

View File

@@ -1,20 +1,20 @@
<script lang="ts">
// *** Import Aether core variables and functions
export let log_lvl = 1;
import type { key_val } from '$lib/ae_stores';
export let log_lvl = 0;
// import type { key_val } from '$lib/ae_stores';
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
import { idaa_loc, idaa_sess, idaa_slct, idaa_trig, idaa_prom } from '$lib/ae_idaa_stores';
import { posts_func } from '$lib/ae_posts/ae_posts_functions';
// import { posts_func } from '$lib/ae_posts/ae_posts_functions';
let ae_promises: key_val = {};
let ae_tmp: key_val = {};
let ae_trigger: any = null;
let ae_triggers: key_val = {};
let search_submit_results: any = null;
// let ae_promises: key_val = {};
// let ae_tmp: key_val = {};
// let ae_trigger: any = null;
// let ae_triggers: key_val = {};
// let search_submit_results: any = null;
if (log_lvl) console.log('** Component Loaded: ** Post Options');
</script>

View File

@@ -1,10 +1,9 @@
<script lang="ts">
export let log_lvl = 1;
export let log_lvl = 0;
// *** Import Svelte core
import { createEventDispatcher, onDestroy, onMount } from 'svelte';
// import { onDestroy, onMount } from 'svelte';
import { fade } from 'svelte/transition';
import { browser } from '$app/environment';
// import Editor from '@tinymce/tinymce-svelte';
import type { key_val } from '$lib/ae_stores';
import { ae_util } from '$lib/ae_utils/ae_utils';
@@ -18,14 +17,10 @@ import Tiptap_editor from '$lib/element_tiptap_editor.svelte';
export let lq__event_obj: any;
// export let container_class_li = [];
const dispatch = createEventDispatcher();
let prom_api__event_obj: any;
let disable_submit_btn = true;
let event_location_select_option_li = {}; // This is a list (dict) of key value pairs
$: if (browser) {
document.body.scrollIntoView();
}

View File

@@ -11,7 +11,7 @@ import { idaa_loc, idaa_sess, idaa_slct, idaa_trig, idaa_prom } from '$lib/ae_id
// import { events_func } from '$lib/ae_events_functions';
export let log_lvl = 0;
export let event_id_random_li: Array<string>;
// export let event_id_random_li: Array<string>;
// export let container_class_li = [];
@@ -23,7 +23,9 @@ let ae_promises: key_val = {};
// let search_submit_results: any = null;
onMount(() => {
console.log('** AE IDAA Mounted: ** Query - Recovery Meeting (Event) Obj');
if (log_lvl) {
console.log('** AE IDAA Mounted: ** Query - Recovery Meeting (Event) Obj');
}
});
if ($idaa_loc.recovery_meetings.qry__fulltext_str && $idaa_loc.recovery_meetings.qry__fulltext_str.length) {