fix(electrobun): remove unused idx in CustomDropdown grouped each
This commit is contained in:
parent
e8278ef444
commit
265ddd3f1d
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@
|
||||||
{#if groupBy && groups.length > 0}
|
{#if groupBy && groups.length > 0}
|
||||||
{#each groups as group}
|
{#each groups as group}
|
||||||
<div class="dd-group-header">{group}</div>
|
<div class="dd-group-header">{group}</div>
|
||||||
{#each flatItems.filter((i) => i.group === group) as item, idx}
|
{#each flatItems.filter((i) => i.group === group) as item}
|
||||||
{@const globalIdx = flatItems.indexOf(item)}
|
{@const globalIdx = flatItems.indexOf(item)}
|
||||||
<button
|
<button
|
||||||
class="dd-option"
|
class="dd-option"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue