fix: shared link expiration and small styling

This commit is contained in:
Alex Tran
2025-12-14 01:02:31 +00:00
parent 33cdea88aa
commit e2ec79dbf0
3 changed files with 45 additions and 42 deletions

View File

@@ -17,7 +17,7 @@ import {
type SharedLinkResponseDto,
} from '@immich/sdk';
import { modalManager, toastManager, type ActionItem } from '@immich/ui';
import { mdiContentCopy, mdiPencilOutline, mdiQrcode, mdiTrashCanOutline } from '@mdi/js';
import { mdiContentCopy, mdiDeleteOutline, mdiPencilOutline, mdiQrcode } from '@mdi/js';
import type { MessageFormatter } from 'svelte-i18n';
export const getSharedLinkActions = ($t: MessageFormatter, sharedLink: SharedLinkResponseDto) => {
@@ -29,7 +29,7 @@ export const getSharedLinkActions = ($t: MessageFormatter, sharedLink: SharedLin
const Delete: ActionItem = {
title: $t('delete_link'),
icon: mdiTrashCanOutline,
icon: mdiDeleteOutline,
color: 'danger',
onAction: () => handleDeleteSharedLink(sharedLink),
};