Mass changes
This commit is contained in:
@@ -63,7 +63,7 @@ $idaa_slct.archive_id = ae_acct.slct.archive_id;
|
||||
// $idaa_slct.archive_obj = ae_acct.slct.archive_obj;
|
||||
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
let lq__archive_obj = $derived(liveQuery(async () => {
|
||||
if (log_lvl) {
|
||||
console.log(`lq__archive_obj: archive_id = ${$idaa_slct?.archive_id}`);
|
||||
|
||||
@@ -41,7 +41,7 @@ if (!post_id) {
|
||||
$idaa_trig.post_id = post_id;
|
||||
}
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
// WARNING: For now the archive_on is hardcoded. It should be configurable.
|
||||
let lq__post_obj_li = $derived(liveQuery(async () => {
|
||||
let results = await db_posts.post
|
||||
|
||||
@@ -37,7 +37,7 @@ $idaa_slct.post_id = ae_acct.slct.post_id;
|
||||
$idaa_trig.post_id = ae_acct.slct.post_id;
|
||||
// $idaa_slct.post_obj = ae_acct.slct.post_obj;
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
let lq__post_obj = $derived(liveQuery(async () => {
|
||||
if (log_lvl) {
|
||||
console.log(`lq__post_obj: post_id = ${$idaa_slct?.post_id}`);
|
||||
|
||||
@@ -54,7 +54,7 @@ if (browser) {
|
||||
|
||||
let event_id_random_li: Array<string> = $state([]);
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
// let lq_new__event_obj_li = $derived(liveQuery(async () => {
|
||||
// let link_to_type: string = 'account';
|
||||
// let link_to_id: string = $ae_lock.account_id;
|
||||
|
||||
@@ -38,7 +38,7 @@ $idaa_slct.event_id = ae_acct.slct.event_id;
|
||||
// $idaa_slct.event_obj = ae_acct.slct.event_obj;
|
||||
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
let lq__event_obj = $derived(liveQuery(async () => {
|
||||
if (log_lvl) {
|
||||
console.log(`lq__event_obj: event_id = ${$idaa_slct?.event_id}`);
|
||||
|
||||
@@ -52,7 +52,7 @@ if (log_lvl > 1) {
|
||||
let dq__where_type_id_val: string = `${link_to_type}_id`; // no more "xyz_id_random"
|
||||
let dq__where_eq_id_val: string = link_to_id;
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
let lq__event_obj_li = $derived(liveQuery(async () => {
|
||||
// Check if event_id_random_li is an array and has items
|
||||
// if (Array.isArray(event_id_random_li)) { // && event_id_random_li.length > 0) {
|
||||
|
||||
@@ -42,7 +42,7 @@ if ($idaa_loc.recovery_meetings?.save_search_text && $idaa_loc.recovery_meetings
|
||||
}
|
||||
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
function preventDefault(fn) {
|
||||
return function (event) {
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user