From 48e32bfdcb6f23fc2a291d6238c7be117eab94d8 Mon Sep 17 00:00:00 2001 From: lexx Date: Thu, 7 May 2026 21:18:50 +0300 Subject: [PATCH] fix paths --- front/js/svelte/files/Preview.svelte | 2 ++ front/js/svelte/records/FilePreview.svelte | 15 ++++++---- front/js/svelte/records/elements/File.svelte | 2 -- src/Channel/Channel.php | 8 ++++-- src/Channel/ChannelService.php | 6 ++-- src/Commands/CompileSchemas.php | 11 ++++--- src/Commands/Export.php | 11 ++++--- src/Commands/Import.php | 30 ++++++++++++++------ src/Commands/RebuildThumbnails.php | 8 +----- src/Config/main.php | 5 ++-- src/File/FileService.php | 25 +++++++++------- src/macros.php | 2 +- 12 files changed, 74 insertions(+), 51 deletions(-) diff --git a/front/js/svelte/files/Preview.svelte b/front/js/svelte/files/Preview.svelte index c6ff9d2..63bbb41 100644 --- a/front/js/svelte/files/Preview.svelte +++ b/front/js/svelte/files/Preview.svelte @@ -10,6 +10,8 @@ let imageSide; let fileSide; let fontSize; + + console.log({ channel }); if (size == "large") { imageSide = 256; fileSide = 32; diff --git a/front/js/svelte/records/FilePreview.svelte b/front/js/svelte/records/FilePreview.svelte index 259cb72..dd83238 100644 --- a/front/js/svelte/records/FilePreview.svelte +++ b/front/js/svelte/records/FilePreview.svelte @@ -1,7 +1,7 @@