From f72166fe70432a126c1093c26a9b983acc9f4766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Vasconcellos?= Date: Thu, 20 Jun 2024 01:13:50 -0300 Subject: [PATCH] Comment out background_processing_percentage on frontend too - Update rust version in contributing --- CONTRIBUTING.md | 2 +- interface/app/$libraryId/settings/client/general.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5f18dec67..16dd2c6ac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -89,7 +89,7 @@ To run the landing page: If you encounter any issues, ensure that you are using the following versions of Rust, Node and Pnpm: -- Rust version: **1.78** +- Rust version: **1.79** - Node version: **18.18** - Pnpm version: **9.1.1** diff --git a/interface/app/$libraryId/settings/client/general.tsx b/interface/app/$libraryId/settings/client/general.tsx index 4f4e1c032..850df4d00 100644 --- a/interface/app/$libraryId/settings/client/general.tsx +++ b/interface/app/$libraryId/settings/client/general.tsx @@ -69,7 +69,7 @@ export const Component = () => { } }); - const watchBackgroundProcessingPercentage = form.watch('background_processing_percentage'); + // const watchBackgroundProcessingPercentage = form.watch('background_processing_percentage'); useDebouncedFormWatch(form, async (value) => { if (await form.trigger()) { @@ -85,9 +85,9 @@ export const Component = () => { image_labeler_version: value.image_labeler_version ?? null }); - if (value.background_processing_percentage != undefined) { + if (value.background_processing_percentage != null) { await updateThumbnailerPreferences.mutateAsync({ - background_processing_percentage: value.background_processing_percentage + // background_processing_percentage: value.background_processing_percentage }); } }