mirror of
https://github.com/immich-app/immich.git
synced 2026-07-09 05:39:33 -07:00
chore: format, lint
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user