fix: add missing each-block keys (svelte/require-each-key)
Fixed all 27 remaining instances across 19 files. Keys used: - Object ID fields where available (e.g. account_id_random, event_file_id) - index for logger lists with no reliable unique key - Property name for Object.entries() loops
This commit is contained in:
@@ -415,7 +415,7 @@
|
||||
<th>Hash</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{#each input_file_list_processed as file_list_item, file_index}
|
||||
{#each input_file_list_processed as file_list_item, file_index (file_index)}
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="file_remove">
|
||||
|
||||
@@ -355,7 +355,7 @@
|
||||
<th>Hash</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{#each processed_file_list as file_list_item, file_index}
|
||||
{#each processed_file_list as file_list_item, file_index (file_index)}
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="file_remove">
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
<ol class="list-decimal list-inside">
|
||||
{#each [...$lq__hosted_file_obj_li]
|
||||
.reverse()
|
||||
.slice(0, max_file_count) as hosted_file_obj}
|
||||
.slice(0, max_file_count) as hosted_file_obj (hosted_file_obj.hosted_file_id)}
|
||||
<li>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<tr>
|
||||
{#if obj != null && typeof obj == 'object'}
|
||||
{#each Object.entries(obj) as [obj_prop_name, obj_prop_value]}
|
||||
{#each Object.entries(obj) as [obj_prop_name, obj_prop_value] (obj_prop_name)}
|
||||
<!-- NEED TO ADD A CHECK IF:
|
||||
NOTE and WARNING:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user