-
- {#if result}
- Results: {result.length}
- {/if}
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {#key result}
+
+ {/key}
+
+
+
+
+ {#if result}
+ Results: {result.total || 0}
+ {/if}
+
+
+
+
+
+
diff --git a/frontend/src/organisms/collection-detail/insert.svelte b/frontend/src/organisms/collection-detail/insert.svelte
index 3b77e58..ba0dc97 100644
--- a/frontend/src/organisms/collection-detail/insert.svelte
+++ b/frontend/src/organisms/collection-detail/insert.svelte
@@ -6,10 +6,6 @@
let input = '';
let insertedIds;
- $: if (collection) {
- insertedIds = undefined;
- }
-
async function insert() {
insertedIds = await PerformInsert(collection.hostKey, collection.dbKey, collection.key, input);
}
diff --git a/frontend/src/organisms/collection-detail/stats.svelte b/frontend/src/organisms/collection-detail/stats.svelte
new file mode 100644
index 0000000..208e513
--- /dev/null
+++ b/frontend/src/organisms/collection-detail/stats.svelte
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
diff --git a/frontend/wailsjs/go/main/App.d.ts b/frontend/wailsjs/go/main/App.d.ts
index 424c7e8..e0bbea2 100755
--- a/frontend/wailsjs/go/main/App.d.ts
+++ b/frontend/wailsjs/go/main/App.d.ts
@@ -2,6 +2,7 @@
// This file is automatically generated. DO NOT EDIT
import {map[string]main} from '../models';
import {primitive} from '../models';
+import {main} from '../models';
export function Hosts():Promise