mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): unused variables
This commit is contained in:
parent
4bf50a0b46
commit
586590e9ec
2 changed files with 12 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue