Comment out background_processing_percentage on frontend too

- Update rust version in contributing
This commit is contained in:
Vítor Vasconcellos 2024-06-20 01:13:50 -03:00
parent 7f6f6d2067
commit f72166fe70
No known key found for this signature in database
GPG key ID: 6EF4F6B456957E38
2 changed files with 4 additions and 4 deletions

View file

@ -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**

View file

@ -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
});
}
}