From 1f5a79004859b7d03273bc700fb9adb751aa2854 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 12 Aug 2024 19:22:39 +0300 Subject: [PATCH] New: Increase max size limit for quality definitions --- frontend/src/Settings/Quality/Definition/QualityDefinition.js | 2 +- frontend/src/Store/Actions/Settings/qualityDefinitions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Settings/Quality/Definition/QualityDefinition.js b/frontend/src/Settings/Quality/Definition/QualityDefinition.js index eb49d4ca4..0d46d30dd 100644 --- a/frontend/src/Settings/Quality/Definition/QualityDefinition.js +++ b/frontend/src/Settings/Quality/Definition/QualityDefinition.js @@ -13,7 +13,7 @@ import QualityDefinitionLimits from './QualityDefinitionLimits'; import styles from './QualityDefinition.css'; const MIN = 0; -const MAX = 400; +const MAX = 1000; const MIN_DISTANCE = 1; const slider = { diff --git a/frontend/src/Store/Actions/Settings/qualityDefinitions.js b/frontend/src/Store/Actions/Settings/qualityDefinitions.js index 09317ca07..c1ac33e6a 100644 --- a/frontend/src/Store/Actions/Settings/qualityDefinitions.js +++ b/frontend/src/Store/Actions/Settings/qualityDefinitions.js @@ -77,7 +77,7 @@ export default { const promise = createAjaxRequest({ method: 'PUT', - url: '/qualityDefinition/update', + url: '/qualitydefinition/update', data: JSON.stringify(upatedDefinitions), contentType: 'application/json', dataType: 'json'