chore: merge fixes

This commit is contained in:
izzy
2026-01-21 17:02:30 +00:00
parent ffdc9012d7
commit bffbf02f3a
9 changed files with 448 additions and 275 deletions

View File

@@ -1,5 +1,5 @@
import { OpenQueryParam, type SharedLinkTab } from '$lib/constants';
import { QueueName, type MetadataSearchDto, type SmartSearchDto } from '@immich/sdk';
import { IntegrityReportType, QueueName, type MetadataSearchDto, type SmartSearchDto } from '@immich/sdk';
import { omitBy } from 'lodash-es';
const asQueueSlug = (name: QueueName) => {
@@ -121,6 +121,8 @@ export const Route = {
systemSettings: (params?: { isOpen?: OpenQueryParam }) => '/admin/system-settings' + asQueryString(params),
systemStatistics: () => '/admin/server-status',
systemMaintenance: (params?: { continue?: string }) => '/admin/maintenance' + asQueryString(params),
systemMaintenanceIntegrityReport: ({ reportType }: { reportType: IntegrityReportType }) =>
`/admin/maintenance/integrity-report/${reportType}`,
// tags
tags: (params?: { path?: string }) => '/tags' + asQueryString(params),

View File

@@ -2,7 +2,7 @@
import AdminPageLayout from '$lib/components/layouts/AdminPageLayout.svelte';
import IntegrityReportTableItem from '$lib/components/maintenance/integrity/IntegrityReportTableItem.svelte';
import OnEvents from '$lib/components/OnEvents.svelte';
import { AppRoute } from '$lib/constants';
import { Route } from '$lib/route';
import { getIntegrityReportActions } from '$lib/services/integrity.service';
import { asyncTimeout } from '$lib/utils';
import { getIntegrityReport, getQueuesLegacy, IntegrityReportType } from '@immich/sdk';
@@ -72,7 +72,7 @@
<AdminPageLayout
breadcrumbs={[
{ title: $t('admin.maintenance_settings'), href: AppRoute.ADMIN_MAINTENANCE_SETTINGS },
{ title: $t('admin.maintenance_settings'), href: Route.systemMaintenance() },
{ title: $t('admin.maintenance_integrity_report') },
{ title: data.meta.title },
]}