diff --git a/web/src/lib/components/elements/buttons/circle-icon-button.svelte b/web/src/lib/components/elements/buttons/circle-icon-button.svelte index 155062c1e26f4..071a645000007 100644 --- a/web/src/lib/components/elements/buttons/circle-icon-button.svelte +++ b/web/src/lib/components/elements/buttons/circle-icon-button.svelte @@ -1,5 +1,5 @@ @@ -68,6 +68,8 @@ dark: 'bg-[#202123] hover:bg-[#d3d3d3]', alert: 'text-[#ff0000] hover:text-white', gray: 'bg-[#d3d3d3] hover:bg-[#e2e7e9] text-immich-dark-gray hover:text-black', + neutral: + 'dark:bg-immich-dark-gray dark:text-gray-300 hover:dark:bg-immich-dark-gray/50 hover:dark:text-gray-300 bg-gray-200 text-gray-700 hover:bg-gray-300', primary: 'bg-immich-primary dark:bg-immich-dark-primary hover:bg-immich-primary/75 hover:dark:bg-immich-dark-primary/80 text-white dark:text-immich-dark-gray', }; diff --git a/web/src/lib/components/faces-page/assign-face-side-panel.svelte b/web/src/lib/components/faces-page/assign-face-side-panel.svelte index f2ee970b3282c..fe6a454307f3c 100644 --- a/web/src/lib/components/faces-page/assign-face-side-panel.svelte +++ b/web/src/lib/components/faces-page/assign-face-side-panel.svelte @@ -15,7 +15,6 @@ import { t } from 'svelte-i18n'; import { handleError } from '$lib/utils/handle-error'; import { onMount } from 'svelte'; - import SettingSwitch from '$lib/components/shared-components/settings/setting-switch.svelte'; interface Props { editedFace: AssetFaceResponseDto; @@ -35,10 +34,7 @@ async function loadPeople() { const timeout = setTimeout(() => (isShowLoadingPeople = true), timeBeforeShowLoadingSpinner); try { - const { people } = await getAllPeople({ - withHidden: true, - closestAssetId: sortFaces ? editedFace.id : undefined, - }); + const { people } = await getAllPeople({ withHidden: true, closestAssetId: editedFace.id }); allPeople = people; } catch (error) { handleError(error, $t('errors.cant_get_faces')); @@ -56,7 +52,6 @@ let searchedPeople: PersonResponseDto[] = $state([]); let searchFaces = $state(false); let searchName = $state(''); - let sortFaces = $state(true); let showPeople = $derived(searchName ? searchedPeople : allPeople.filter((person) => !person.isHidden)); @@ -122,16 +117,6 @@ {/if}