diff --git a/pgml-dashboard/src/components/component.rs b/pgml-dashboard/src/components/component.rs index a785ed9d7..e0504177c 100644 --- a/pgml-dashboard/src/components/component.rs +++ b/pgml-dashboard/src/components/component.rs @@ -37,7 +37,6 @@ macro_rules! component { }; } - pub use component; // Render any string. diff --git a/pgml-dashboard/src/components/navigation/tabs/tabs/mod.rs b/pgml-dashboard/src/components/navigation/tabs/tabs/mod.rs index 21b176837..e7042f3e2 100644 --- a/pgml-dashboard/src/components/navigation/tabs/tabs/mod.rs +++ b/pgml-dashboard/src/components/navigation/tabs/tabs/mod.rs @@ -28,7 +28,7 @@ impl Tabs { .tabs .into_iter() .map(|tab| { - if tab.name() == name.to_string() { + if tab.name().to_lowercase() == name.to_string().to_lowercase() { tab.active() } else { tab.inactive() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy