summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/toolbar
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/lib/toolbar')
-rw-r--r--frontend/src/lib/toolbar/SelectItems.svelte2
-rw-r--r--frontend/src/lib/toolbar/SelectSort.svelte2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/lib/toolbar/SelectItems.svelte b/frontend/src/lib/toolbar/SelectItems.svelte
index 68a0652..ce8045e 100644
--- a/frontend/src/lib/toolbar/SelectItems.svelte
+++ b/frontend/src/lib/toolbar/SelectItems.svelte
@@ -14,7 +14,7 @@
</script>
<select class="btn-slate" value={pagination.items} {onchange} title="Limit displayed items to...">
- {#each values as value}
+ {#each values as value (value)}
<option {value}>{value}</option>
{/each}
</select>
diff --git a/frontend/src/lib/toolbar/SelectSort.svelte b/frontend/src/lib/toolbar/SelectSort.svelte
index 0e59df6..a7d56c7 100644
--- a/frontend/src/lib/toolbar/SelectSort.svelte
+++ b/frontend/src/lib/toolbar/SelectSort.svelte
@@ -41,7 +41,7 @@
<div class="rounded-group flex flex-row">
<select class="btn-slate" value={sort.on} {onchange} title="Sort on...">
- {#each Object.entries(labels) as [value, label]}
+ {#each Object.entries(labels) as [value, label] (value)}
<option {value}>{label}</option>
{/each}
</select>