1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-19 22:18:03 +00:00

A lot of improvements

This commit is contained in:
2023-01-20 13:54:57 +01:00
parent 9811235be7
commit 6703950734
14 changed files with 248 additions and 61 deletions

View File

@ -2,6 +2,7 @@
import { input } from '../../../actions';
import { createEventDispatcher } from 'svelte';
import { InsertItems } from '../../../../wailsjs/go/app/App';
import Icon from '../../../components/icon.svelte';
export let collection;
@ -44,7 +45,9 @@
{#if insertedIds}
<button class="btn" type="button" on:click={showDocs}>View inserted docs</button>
{/if}
<button type="submit" class="btn" disabled={!json}>Insert</button>
<button type="submit" class="btn" disabled={!json}>
<Icon name="+" /> Insert
</button>
</div>
</div>
</form>