Content-Length: 1539 | pFad | http://github.com/postgresml/postgresml/pull/1008.patch
thub.com From 9e8dcec4eac1c9c1b94f177818f056947132b315 Mon Sep 17 00:00:00 2001 From: Dan <39170265+chillenberger@users.noreply.github.com> Date: Thu, 7 Sep 2023 17:03:11 -0600 Subject: [PATCH] default input name should be lowercase --- pgml-dashboard/src/components/inputs/range_group/mod.rs | 2 +- pgml-dashboard/templates/content/playground.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pgml-dashboard/src/components/inputs/range_group/mod.rs b/pgml-dashboard/src/components/inputs/range_group/mod.rs index 565f70a91..d6e3a73a4 100644 --- a/pgml-dashboard/src/components/inputs/range_group/mod.rs +++ b/pgml-dashboard/src/components/inputs/range_group/mod.rs @@ -20,7 +20,7 @@ impl RangeGroup { pub fn new(title: &str) -> RangeGroup { RangeGroup { title: title.to_owned(), - identifier: title.replace(" ", "_"), + identifier: title.replace(" ", "_").to_lowercase(), min: 0, max: 100, step: 1.0, diff --git a/pgml-dashboard/templates/content/playground.html b/pgml-dashboard/templates/content/playground.html index 5f338ab97..760583639 100644 --- a/pgml-dashboard/templates/content/playground.html +++ b/pgml-dashboard/templates/content/playground.html @@ -102,7 +102,6 @@Fetched URL: http://github.com/postgresml/postgresml/pull/1008.patch
Alternative Proxies: