mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
feat(web): change mdiClose to mdiInfinity for User Management - quota (#11015)
Add Infinity Icon for Usermanagement (quota) Add the "mdiInfinity" Icon instead of "mdiClose" for quota (0 for infinity)
This commit is contained in:
parent
8dd1d95913
commit
3cb42de931
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
import { copyToClipboard } from '$lib/utils';
|
import { copyToClipboard } from '$lib/utils';
|
||||||
import { getByteUnitString } from '$lib/utils/byte-units';
|
import { getByteUnitString } from '$lib/utils/byte-units';
|
||||||
import { UserStatus, searchUsersAdmin, type UserAdminResponseDto } from '@immich/sdk';
|
import { UserStatus, searchUsersAdmin, type UserAdminResponseDto } from '@immich/sdk';
|
||||||
import { mdiClose, mdiContentCopy, mdiDeleteRestore, mdiPencilOutline, mdiTrashCanOutline } from '@mdi/js';
|
import { mdiInfinity, mdiContentCopy, mdiDeleteRestore, mdiPencilOutline, mdiTrashCanOutline } from '@mdi/js';
|
||||||
import { DateTime } from 'luxon';
|
import { DateTime } from 'luxon';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import type { PageData } from './$types';
|
import type { PageData } from './$types';
|
||||||
|
@ -209,7 +209,7 @@
|
||||||
{#if immichUser.quotaSizeInBytes && immichUser.quotaSizeInBytes > 0}
|
{#if immichUser.quotaSizeInBytes && immichUser.quotaSizeInBytes > 0}
|
||||||
{getByteUnitString(immichUser.quotaSizeInBytes, $locale)}
|
{getByteUnitString(immichUser.quotaSizeInBytes, $locale)}
|
||||||
{:else}
|
{:else}
|
||||||
<Icon path={mdiClose} size="16" />
|
<Icon path={mdiInfinity} size="16" />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue