({ ...idx, menu: [ { label: 'Drop this index…', fn: () => drop(idx.name) } ], }))} bind:activeKey on:trigger={e => openJson(e.detail)} />