mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 13:07:58 +00:00
Removed indices objectviewer
This commit is contained in:
parent
e3f033ee6b
commit
2be4ff0a94
@ -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;
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="indexes">
|
||||
@ -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)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -66,7 +59,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ObjectViewer bind:data={objectViewerData} />
|
||||
<IndexDetail bind:creatingNewIndex {collection} on:reload={getIndexes} />
|
||||
|
||||
<style>
|
||||
|
Loading…
Reference in New Issue
Block a user