1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-26 05:01:05 +02:00

chore: setup rollup-plugin-visualizer and remove lodash (#6974)

* chore: setup rollup-plugin-visualizer

* chore: remove lodash

* format

* remove lodash-es from build
This commit is contained in:
Ben McCann
2024-02-07 23:27:54 -08:00
committed by GitHub
parent abb6922c2b
commit b273ea2ba4
6 changed files with 261 additions and 23 deletions

View File

@ -9,7 +9,7 @@
import { mdiCheck } from '@mdi/js';
import _ from 'lodash';
import { isEqual } from 'lodash-es';
import LinkButton from './buttons/link-button.svelte';
import { clickOutside } from '$lib/utils/click-outside';
import { fly } from 'svelte/transition';
@ -92,7 +92,7 @@
class="grid grid-cols-[20px,1fr] place-items-center p-2 transition-all hover:bg-gray-300 dark:hover:bg-gray-800"
on:click={() => handleSelectOption(option)}
>
{#if _.isEqual(selectedOption, option)}
{#if isEqual(selectedOption, option)}
<div class="text-immich-primary dark:text-immich-dark-primary">
<Icon path={mdiCheck} size="18" />
</div>