From b1e472224dd09b233c649f06a00b7fdaf8e6bfbd Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Sat, 20 Jun 2026 02:47:07 +0200 Subject: [PATCH] refactor(frontend): apply formatter, linter --- frontend/src/lib/components/AppShell.svelte | 1 - frontend/src/lib/components/ResourceList.svelte | 5 +---- .../src/routes/config/drive/[uuid]/+page.svelte | 13 ++++++++----- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/frontend/src/lib/components/AppShell.svelte b/frontend/src/lib/components/AppShell.svelte index 1a61464b..6de09319 100644 --- a/frontend/src/lib/components/AppShell.svelte +++ b/frontend/src/lib/components/AppShell.svelte @@ -7,7 +7,6 @@ import { fileInlineUrl } from '$lib/api/endpoints/files'; import type { FileItem, FolderItem } from '$lib/api/types'; import { lazyComponent } from '$lib/composables/lazyComponent.svelte'; - import CommandPalette from '$lib/components/CommandPalette.svelte'; import DrivePicker from '$lib/components/DrivePicker.svelte'; import Icon from '$lib/icons/Icon.svelte'; import { iconNameFromClass } from '$lib/utils/display'; diff --git a/frontend/src/lib/components/ResourceList.svelte b/frontend/src/lib/components/ResourceList.svelte index f7b88bf8..5f4e3935 100644 --- a/frontend/src/lib/components/ResourceList.svelte +++ b/frontend/src/lib/components/ResourceList.svelte @@ -331,10 +331,7 @@ {#if showOwner}
{#if entry.ownerId} - + {:else} {entry.ownerName ?? '—'} {/if} diff --git a/frontend/src/routes/config/drive/[uuid]/+page.svelte b/frontend/src/routes/config/drive/[uuid]/+page.svelte index 9bdc00fe..fd41a13d 100644 --- a/frontend/src/routes/config/drive/[uuid]/+page.svelte +++ b/frontend/src/routes/config/drive/[uuid]/+page.svelte @@ -68,10 +68,7 @@

{t('drive.not_found_title', 'Drive not found')}

- {t( - 'drive.not_found_body', - "This drive doesn't exist or you don't have access to it." - )} + {t('drive.not_found_body', "This drive doesn't exist or you don't have access to it.")}

{t('drive.back_to_files', 'Back to Files')}
@@ -124,7 +121,13 @@
{#if drive.quota_bytes && drive.quota_bytes > 0} -
+
{/if}