Mass changes
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
let log_lvl: number = $state(1);
|
||||
|
||||
// *** Import Svelte specific
|
||||
import { run } from 'svelte/legacy';
|
||||
import { onMount, tick } from 'svelte';
|
||||
import { goto } from '$app/navigation';
|
||||
import { sineIn } from 'svelte/easing';
|
||||
|
||||
// *** Import other supporting libraries
|
||||
import { liveQuery } from "dexie";
|
||||
import { Drawer, Footer, Modal } from 'flowbite-svelte';
|
||||
import { listen, idle, onIdle } from 'svelte-idle'
|
||||
@@ -81,7 +82,7 @@ if (log_lvl > 1) {
|
||||
console.log(`$events_slct.id_li__event_location:`, $events_slct.id_li__event_location);
|
||||
}
|
||||
|
||||
// Functions and Logic
|
||||
// *** Functions and Logic
|
||||
|
||||
// Event
|
||||
let lq__event_obj = $derived(liveQuery(async () => {
|
||||
@@ -552,7 +553,7 @@ function handle_idle_client() {
|
||||
|
||||
}
|
||||
|
||||
run(() => {
|
||||
$effect(() => {
|
||||
if ($idle) {
|
||||
log_lvl = 1;
|
||||
console.log(`User is idle after ${$events_loc.launcher?.idle_timer} milliseconds.`);
|
||||
|
||||
Reference in New Issue
Block a user