From f5e90a1aa4d3383b98ba33574df1ea177bd8d81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 8 Mar 2023 12:31:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20saving=20of=20extruder=20c?= =?UTF-8?q?ount=20in=20printer=20profiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simple copy-paste error. Closes #4754 --- src/octoprint/static/js/app/viewmodels/printerprofiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/static/js/app/viewmodels/printerprofiles.js b/src/octoprint/static/js/app/viewmodels/printerprofiles.js index bc79621f4..d55fd99ef 100644 --- a/src/octoprint/static/js/app/viewmodels/printerprofiles.js +++ b/src/octoprint/static/js/app/viewmodels/printerprofiles.js @@ -290,7 +290,7 @@ $(function () { } } if (checks.lt !== undefined) { - if (!(value < checks.gt)) { + if (!(value < checks.lt)) { return def; } }