diff --git a/frontend/viewer/src/lib/components/field-editors/multi-select.svelte b/frontend/viewer/src/lib/components/field-editors/multi-select.svelte index 57d4904fa2..15b08dd6f2 100644 --- a/frontend/viewer/src/lib/components/field-editors/multi-select.svelte +++ b/frontend/viewer/src/lib/components/field-editors/multi-select.svelte @@ -163,13 +163,13 @@ {#snippet displayBadges()} -
+
{#each displayValues as value (getId(value))} - {getLabel(value)} + {getLabel(value) || $t`Untitled`} {:else} - + {placeholder ?? $t`None`}   @@ -129,7 +129,7 @@ {/if}
- + {emptyResultsPlaceholder ?? $t`No items found`} {#each renderedOptions as option, i (getId(option))} @@ -138,14 +138,14 @@ {@const selected = value && getId(value) === id} selectValue(option)} - class="group max-md:h-12" + class={cn('group max-md:h-12', label || 'text-muted-foreground')} data-value-index={i} aria-label={label} > - {label} + {label || $t`Untitled`} {/each} {#if renderedOptions.length < filteredOptions.length} diff --git a/frontend/viewer/src/lib/components/ui/button/x-button.svelte b/frontend/viewer/src/lib/components/ui/button/x-button.svelte index 993437505a..7af0b9b036 100644 --- a/frontend/viewer/src/lib/components/ui/button/x-button.svelte +++ b/frontend/viewer/src/lib/components/ui/button/x-button.svelte @@ -12,5 +12,5 @@
- +
@@ -141,6 +147,10 @@
+
+ + +
diff --git a/frontend/viewer/src/project/browse/filter/PartOfSpeechSelect.svelte b/frontend/viewer/src/project/browse/filter/PartOfSpeechSelect.svelte new file mode 100644 index 0000000000..4eaa2cee20 --- /dev/null +++ b/frontend/viewer/src/project/browse/filter/PartOfSpeechSelect.svelte @@ -0,0 +1,23 @@ + + +