mirror of
https://github.com/immich-app/immich.git
synced 2025-01-12 15:32:36 +02:00
fix(web): unused variables
This commit is contained in:
parent
4bf50a0b46
commit
586590e9ec
@ -30,7 +30,7 @@
|
||||
}
|
||||
|
||||
const params = new URLSearchParams({
|
||||
q: value,
|
||||
q: searchValue,
|
||||
clip: clipSearch
|
||||
});
|
||||
|
||||
@ -104,14 +104,17 @@
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-5 pt-5 text-xs flex justify-between">
|
||||
<p>RECENT SEARCHES</p>
|
||||
<button
|
||||
type="button"
|
||||
class="text-immich-primary dark:text-immich-dark-primary font-semibold p-2 hover:bg-immich-primary/25 rounded-lg"
|
||||
on:click={clearSearchTerm}>Clear all</button
|
||||
>
|
||||
</div>
|
||||
|
||||
{#if $savedSearchTerms.length > 0}
|
||||
<div class="px-5 pt-5 text-xs flex justify-between">
|
||||
<p>RECENT SEARCHES</p>
|
||||
<button
|
||||
type="button"
|
||||
class="text-immich-primary dark:text-immich-dark-primary font-semibold p-2 hover:bg-immich-primary/25 rounded-lg"
|
||||
on:click={clearSearchTerm}>Clear all</button
|
||||
>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#each $savedSearchTerms as savedSearchTerm, i (i)}
|
||||
<button
|
||||
|
@ -1,5 +1,3 @@
|
||||
import { writable } from 'svelte/store';
|
||||
import { persisted } from 'svelte-local-storage-store';
|
||||
|
||||
export const enableClip = writable<boolean>(false);
|
||||
export const savedSearchTerms = persisted<string[]>('search-terms', [], {});
|
||||
|
Loading…
Reference in New Issue
Block a user