More general code clean up. More removing of the _random bits.

This commit is contained in:
Scott Idem
2026-02-11 13:00:42 -05:00
parent 87d74e5b4b
commit 3ca041383f
9 changed files with 15 additions and 641 deletions

View File

@@ -198,7 +198,7 @@
});
local_ids = local_results
.map((e) => e.id || e.journal_entry_id_random)
.map((e) => e.id || e.journal_entry_id)
.filter(Boolean);
if (current_search_id === last_search_id) {
@@ -235,7 +235,7 @@
if (current_search_id === last_search_id) {
const api_results = results || [];
const api_ids = api_results
.map((e: any) => e.id || e.journal_entry_id_random)
.map((e: any) => e.id || e.journal_entry_id)
.filter(Boolean);
// Protect UI cache if API returns empty during revalidation