We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf0068a commit f911dceCopy full SHA for f911dce
pgml-dashboard/src/components/component.rs
@@ -37,7 +37,6 @@ macro_rules! component {
37
};
38
}
39
40
-
41
pub use component;
42
43
// Render any string.
pgml-dashboard/src/components/navigation/tabs/tabs/mod.rs
@@ -28,7 +28,7 @@ impl Tabs {
28
.tabs
29
.into_iter()
30
.map(|tab| {
31
- if tab.name() == name.to_string() {
+ if tab.name().to_lowercase() == name.to_string().to_lowercase() {
32
tab.active()
33
} else {
34
tab.inactive()
0 commit comments