Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb8541f

Browse files
authored
Lowercase tab (#984)
1 parenta1e4dc3 commiteb8541f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎pgml-dashboard/src/components/component.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ macro_rules! component {
3737
};
3838
}
3939

40-
4140
pubuse component;
4241

4342
// Render any string.

‎pgml-dashboard/src/components/navigation/tabs/tabs/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl Tabs {
2828
.tabs
2929
.into_iter()
3030
.map(|tab|{
31-
if tab.name() == name.to_string(){
31+
if tab.name().to_lowercase() == name.to_string().to_lowercase(){
3232
tab.active()
3333
}else{
3434
tab.inactive()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp