mirror of
https://github.com/immich-app/immich.git
synced 2025-12-27 01:11:42 +03:00
chore: lint
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
async function download(filename: string) {
|
||||
function download(filename: string) {
|
||||
location.href = getBaseUrl() + '/admin/maintenance/backups/' + filename;
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
title: 'Download',
|
||||
icon: mdiDownload,
|
||||
onSelect() {
|
||||
download(filename);
|
||||
void download(filename);
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -125,7 +125,7 @@
|
||||
icon: mdiTrashCanOutline,
|
||||
color: 'danger',
|
||||
onSelect() {
|
||||
remove(filename);
|
||||
void remove(filename);
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<CardBody>
|
||||
<Stack>
|
||||
{#if integrity}
|
||||
{#each Object.entries(integrity.storageIntegrity) as [folder, { readable, writable }]}
|
||||
{#each Object.entries(integrity.storageIntegrity) as [folder, { readable, writable }] (folder)}
|
||||
<HStack>
|
||||
<Icon
|
||||
icon={writable ? mdiCheck : mdiClose}
|
||||
@@ -54,7 +54,7 @@
|
||||
>
|
||||
</HStack>
|
||||
{/each}
|
||||
{#each Object.entries(integrity.storageHeuristics) as [folder, { files }]}
|
||||
{#each Object.entries(integrity.storageHeuristics) as [folder, { files }] (folder)}
|
||||
{#if folder !== 'backups'}
|
||||
<HStack class="items-start">
|
||||
<Icon
|
||||
|
||||
Reference in New Issue
Block a user