fix: resolve svelte-check warnings (non-IDAA batch)

- Remove dead .field_editing_wrapper CSS rules from element_ae_crud_v2.svelte
  (template migrated to field_editing_wrapper_v2 with Tailwind)
- Fix TS error: use optional chaining on person_obj key in ae_comp__person_obj_tbl.svelte
- Fix state_referenced_locally: wrap data.user init with untrack() in users/[user_id]/+page.svelte
- Replace misused <label> with <span> for visual section headings (a11y) in:
  launcher_cfg_native_os.svelte, launcher_cfg_health.svelte,
  launcher_cfg_local_actions.svelte, launcher_cfg_template.svelte
This commit is contained in:
Scott Idem
2026-03-06 18:15:31 -05:00
parent 48d5fe8995
commit 3ca9503b88
7 changed files with 18 additions and 104 deletions

View File

@@ -74,7 +74,7 @@
</tr>
</thead>
<tbody>
{#each $lq_kv__person_obj_li as person_obj (person_obj.person_id_random)}
{#each $lq_kv__person_obj_li as person_obj (person_obj?.person_id_random)}
<tr class:dim={person_obj?.hide}>
<td class="px-4 py-2">
<span class="fas fa-user"></span>

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { onMount } from 'svelte';
import { onMount, untrack } from 'svelte';
import { ae_loc, ae_api } from '$lib/stores/ae_stores';
import { goto } from '$app/navigation';
import { update_ae_obj__user, delete_ae_obj_id__user } from '$lib/ae_core/ae_core__user';
@@ -26,7 +26,7 @@
}
let { data }: Props = $props();
let user = $state(data.user);
let user = $state(untrack(() => data.user));
let saving = $state(false);
$effect(() => {