refator(ui): merge of ResourceList part1
This commit is contained in:
@@ -254,7 +254,7 @@
|
||||
];
|
||||
|
||||
// ── Selection + batch ─────────────────────────────────────────────────────
|
||||
// Selected items arrive via the batchToolbar snippet param —
|
||||
// Selected items arrive via the batchActions snippet param —
|
||||
// ResourceList already derives them (O(selection), not O(N)); a
|
||||
// host-side `items.filter(...)` shadow would re-run a second full scan
|
||||
// per selection toggle, and its id mirror is unnecessary (the component
|
||||
@@ -307,6 +307,7 @@
|
||||
onopen={open}
|
||||
onfavorite={unfavorite}
|
||||
showOwner
|
||||
showPath
|
||||
selectable
|
||||
{contextActions}
|
||||
{groupBys}
|
||||
@@ -317,7 +318,7 @@
|
||||
load(true, orderBy, rev);
|
||||
}}
|
||||
>
|
||||
{#snippet batchToolbar(sel)}
|
||||
{#snippet batchActions(sel)}
|
||||
<Button
|
||||
icon="download"
|
||||
data-testid="favorites-batch-download-btn"
|
||||
|
||||
Reference in New Issue
Block a user