Skip to content

Commit fccf630

Browse files
committed
test: 更新单元测试
1 parent 2cb6b62 commit fccf630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/Tab/Tab.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ public partial class Tab
487487
private bool IsPreventDefault => _contextMenuZone != null;
488488

489489
private static string? GetTabItemClassString(TabItem item) => CssBuilder.Default("tabs-body-content")
490-
.AddClass("d-none", item is { IsActive: false })
490+
.AddClass("d-none", !item.IsActive)
491491
.Build();
492492

493493
/// <summary>

0 commit comments

Comments
 (0)