Merge branch 'refactor/desktop-sort-options' into chore/reconcile-ui-review
This commit is contained in:
@@ -538,10 +538,11 @@
|
||||
<label class="sort">
|
||||
<span>Sort</span>
|
||||
<select bind:value={sort} onchange={onSortChange} data-testid="sort-select">
|
||||
<option value="updated">Last updated</option>
|
||||
<option value="created">Date added</option>
|
||||
<option value="title">Title</option>
|
||||
<option value="author">Author</option>
|
||||
<!-- Options derive from SORT_FIELD_LABELS — the same source the
|
||||
mobile sort sheet uses — so the two surfaces can't drift. -->
|
||||
{#each Object.entries(SORT_FIELD_LABELS) as [value, label] (value)}
|
||||
<option {value}>{label}</option>
|
||||
{/each}
|
||||
</select>
|
||||
</label>
|
||||
<div class="sort">
|
||||
|
||||
Reference in New Issue
Block a user