mirror of
https://github.com/immich-app/immich.git
synced 2025-11-01 11:07:11 -04:00
* refactor search suggestion handling * chore: open api * revert server changes * chore: open api * update location filters * location filter cleanup * refactor people filter * refactor camera filter * refactor display filter * cleanup --------- Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
33 lines
1008 B
Svelte
33 lines
1008 B
Svelte
<script lang="ts" context="module">
|
|
export interface SearchDisplayFilters {
|
|
isNotInAlbum?: boolean;
|
|
isArchive?: boolean;
|
|
isFavorite?: boolean;
|
|
}
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
export let filters: SearchDisplayFilters;
|
|
</script>
|
|
|
|
<div id="display-options-selection" class="text-sm">
|
|
<p class="immich-form-label">DISPLAY OPTIONS</p>
|
|
|
|
<div class="flex flex-wrap gap-x-5 gap-y-2 mt-1">
|
|
<label class="flex items-center gap-2">
|
|
<input type="checkbox" class="size-5 flex-shrink-0" bind:checked={filters.isNotInAlbum} />
|
|
<span class="pt-1">Not in any album</span>
|
|
</label>
|
|
|
|
<label class="flex items-center gap-2">
|
|
<input type="checkbox" class="size-5 flex-shrink-0" bind:checked={filters.isArchive} />
|
|
<span class="pt-1">Archive</span>
|
|
</label>
|
|
|
|
<label class="flex items-center gap-2">
|
|
<input type="checkbox" class="size-5 flex-shrink-0" bind:checked={filters.isFavorite} />
|
|
<span class="pt-1">Favorite</span>
|
|
</label>
|
|
</div>
|
|
</div>
|