From 2be4ff0a9461d1d3619827e5064852b2754d1dfe Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Mon, 29 May 2023 22:14:50 +0200 Subject: [PATCH] Removed indices objectviewer --- .../src/organisms/connection/collection/indexes.svelte | 8 -------- 1 file changed, 8 deletions(-) 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 @@ -