fix(core): replace legacy *_id_random with V3 short-form IDs across all core pages
- sites, accounts, addresses, contacts, users list/detail pages - ae_comp__person_obj_tbl: fix bulkGet→where/anyOf, rename prop person_id_random_li→person_id_li - person_view: ~20 person_id_random refs in API calls/props - people page + search + form components - activity_logs: intentionally unchanged (person_id_random is a real field there)
This commit is contained in:
@@ -186,7 +186,7 @@ async function handle_add_site() {
|
||||
</h3>
|
||||
|
||||
<div class="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
|
||||
{#each filtered_li as site (site.site_id_random)}
|
||||
{#each filtered_li as site (site.site_id)}
|
||||
<div
|
||||
class="card preset-tonal-surface border-surface-500/10 hover:border-primary-500/30 group relative space-y-4 border p-5 shadow-md transition-all">
|
||||
<div class="absolute top-4 right-4 flex gap-1">
|
||||
@@ -236,13 +236,13 @@ async function handle_add_site() {
|
||||
size={14}
|
||||
class="text-secondary-500 shrink-0" />
|
||||
<span class="truncate font-mono"
|
||||
>{site.site_id_random}</span>
|
||||
>{site.site_id}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a
|
||||
class="btn btn-sm preset-filled-primary w-full font-bold shadow-lg transition-all group-hover:brightness-110"
|
||||
href="/core/sites/{site.site_id_random}">
|
||||
href="/core/sites/{site.site_id}">
|
||||
Manage Site
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user