- fix icon

- update openapi-specs
This commit is contained in:
CJPeckover 2025-10-08 23:46:11 -04:00
parent e2b5b30e30
commit 9f93c89878
2 changed files with 5 additions and 3 deletions

View file

@ -1052,7 +1052,9 @@
], ],
"tags": [ "tags": [
"Albums" "Albums"
] ],
"x-immich-permission": "album.read",
"description": "This endpoint requires the `album.read` permission."
} }
}, },
"/albums/statistics": { "/albums/statistics": {

View file

@ -1,8 +1,8 @@
<script lang="ts"> <script lang="ts">
import Icon from '$lib/components/elements/icon.svelte';
import Combobox, { type ComboBoxOption } from '$lib/components/shared-components/combobox.svelte'; import Combobox, { type ComboBoxOption } from '$lib/components/shared-components/combobox.svelte';
import { getAssetThumbnailUrl } from '$lib/utils'; import { getAssetThumbnailUrl } from '$lib/utils';
import { getAllAlbumsSlim, type AlbumResponseDto } from '@immich/sdk'; import { getAllAlbumsSlim, type AlbumResponseDto } from '@immich/sdk';
import { Icon } from '@immich/ui';
import { mdiClose } from '@mdi/js'; import { mdiClose } from '@mdi/js';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
import { t } from 'svelte-i18n'; import { t } from 'svelte-i18n';
@ -80,7 +80,7 @@
title={$t('remove_album')} title={$t('remove_album')}
onclick={() => handleRemove(albumId)} onclick={() => handleRemove(albumId)}
> >
<Icon path={mdiClose} /> <Icon icon={mdiClose} />
</button> </button>
</div> </div>
{/if} {/if}