mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
chore: format, lint
This commit is contained in:
parent
1afc8887ce
commit
9beeaee13b
4 changed files with 21 additions and 10 deletions
|
|
@ -306,7 +306,7 @@ describe('/yucca', () => {
|
|||
snapshots: [{ id: snapshotId }],
|
||||
},
|
||||
],
|
||||
} = await sdk.inspectRepositories(maintenanceRequestOpts);
|
||||
} = await sdk.inspectRepositories({}, maintenanceRequestOpts);
|
||||
|
||||
socket = io(baseUrl, {
|
||||
path: '/api/yucca/socket.io',
|
||||
|
|
|
|||
|
|
@ -86,8 +86,18 @@ export class ServerService extends BaseService {
|
|||
}
|
||||
|
||||
async getFeatures(): Promise<ServerFeaturesDto> {
|
||||
const { reverseGeocoding, metadata, map, backup, machineLearning, trash, oauth, passwordLogin, notifications, ffmpeg } =
|
||||
await this.getConfig({ withCache: false });
|
||||
const {
|
||||
reverseGeocoding,
|
||||
metadata,
|
||||
map,
|
||||
backup,
|
||||
machineLearning,
|
||||
trash,
|
||||
oauth,
|
||||
passwordLogin,
|
||||
notifications,
|
||||
ffmpeg,
|
||||
} = await this.getConfig({ withCache: false });
|
||||
const { configFile } = this.configRepository.getEnv();
|
||||
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -32,11 +32,6 @@
|
|||
<Button size="small" onclick={() => handleRestoreDatabaseBackup(filename)} disabled={isDeleting}>
|
||||
{$t('restore')}
|
||||
</Button>
|
||||
<ContextMenuButton
|
||||
disabled={isDeleting}
|
||||
position="top-right"
|
||||
aria-label={$t('open')}
|
||||
items={[Download, Delete]}
|
||||
/>
|
||||
<ContextMenuButton disabled={isDeleting} position="top-right" aria-label={$t('open')} items={[Download, Delete]} />
|
||||
{/snippet}
|
||||
</MaintenanceBackupCard>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import { ImmichBackupsPage, orchestrationApiProvider, sdk, setProvider, YuccaContext } from '@futo-org/backups-orchestrator-ui';
|
||||
import {
|
||||
ImmichBackupsPage,
|
||||
orchestrationApiProvider,
|
||||
sdk,
|
||||
setProvider,
|
||||
YuccaContext,
|
||||
} from '@futo-org/backups-orchestrator-ui';
|
||||
import type { PageData } from './$types';
|
||||
import UserPageLayout from '$lib/components/layouts/UserPageLayout.svelte';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue