1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-21 06:48:04 +00:00

Update items (needs refinement)

This commit is contained in:
2023-01-18 11:22:02 +01:00
parent 1571eaa897
commit 1c12dcabc0
8 changed files with 281 additions and 7 deletions

View File

@ -7,6 +7,7 @@
import Insert from './insert.svelte';
import Remove from './remove.svelte';
import Stats from './stats.svelte';
import Update from './update.svelte';
export let collection;
export let hostKey;
@ -45,6 +46,7 @@
{#if tab === 'stats'} <Stats {collection} />
{:else if tab === 'find'} <Find {collection} bind:this={find} />
{:else if tab === 'insert'} <Insert {collection} on:performFind={catchQuery} />
{:else if tab === 'update'} <Update {collection} on:performFind={catchQuery} />
{:else if tab === 'remove'} <Remove {collection} />
{:else if tab === 'indexes'} <Indexes {collection} />
{/if}