diff --git a/frontend/src/organisms/connection/collection/indexes.svelte b/frontend/src/organisms/connection/collection/indexes.svelte index 1af7b57..0999a2d 100644 --- a/frontend/src/organisms/connection/collection/indexes.svelte +++ b/frontend/src/organisms/connection/collection/indexes.svelte @@ -9,7 +9,6 @@ let indexes = []; let activePath = []; - let objectViewerData = ''; let creatingNewIndex = false; $: collection && getIndexes(); @@ -35,11 +34,6 @@ activePath[0] = ''; } } - - function openJson(indexId) { - const item = indexes?.find(i => i.name == indexId); - objectViewerData = item; - }
@@ -49,7 +43,6 @@ data={indexes} getRootMenu={(_, idx) => [ { label: 'Drop this index', fn: () => drop(idx.name) } ]} bind:activePath - on:trigger={e => openJson(e.detail.itemKey)} />
@@ -66,7 +59,6 @@ -