mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 21:17:59 +00:00
Removed indices objectviewer
This commit is contained in:
parent
e3f033ee6b
commit
2be4ff0a94
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
let indexes = [];
|
let indexes = [];
|
||||||
let activePath = [];
|
let activePath = [];
|
||||||
let objectViewerData = '';
|
|
||||||
let creatingNewIndex = false;
|
let creatingNewIndex = false;
|
||||||
|
|
||||||
$: collection && getIndexes();
|
$: collection && getIndexes();
|
||||||
@ -35,11 +34,6 @@
|
|||||||
activePath[0] = '';
|
activePath[0] = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openJson(indexId) {
|
|
||||||
const item = indexes?.find(i => i.name == indexId);
|
|
||||||
objectViewerData = item;
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="indexes">
|
<div class="indexes">
|
||||||
@ -49,7 +43,6 @@
|
|||||||
data={indexes}
|
data={indexes}
|
||||||
getRootMenu={(_, idx) => [ { label: 'Drop this index', fn: () => drop(idx.name) } ]}
|
getRootMenu={(_, idx) => [ { label: 'Drop this index', fn: () => drop(idx.name) } ]}
|
||||||
bind:activePath
|
bind:activePath
|
||||||
on:trigger={e => openJson(e.detail.itemKey)}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -66,7 +59,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ObjectViewer bind:data={objectViewerData} />
|
|
||||||
<IndexDetail bind:creatingNewIndex {collection} on:reload={getIndexes} />
|
<IndexDetail bind:creatingNewIndex {collection} on:reload={getIndexes} />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
Reference in New Issue
Block a user