Skip to content

Commit 9a3f70e

Browse files
committed
refactor: 移除测试代码
1 parent d4c1050 commit 9a3f70e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/BootstrapBlazor.Tasks.Dashboard/TaskDashboard.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</TableTemplateColumn>
3232
<TableTemplateColumn Text="@Localizer["Exception"]">
3333
<Template Context="v">
34-
@if (v.Row.Exception == null)
34+
@if (v.Row.Exception != null)
3535
{
3636
<Button Color="Color.Danger" Size="Size.ExtraSmall" Icon="fa-solid fa-exclamation-circle"
3737
OnClickWithoutRender="() => OnShowException(v.Row, v.Row.Exception)"></Button>

src/components/BootstrapBlazor.Tasks.Dashboard/TaskDashboard.razor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ private async Task OnLog(IScheduler scheduler)
108108

109109
private async Task OnShowException(IScheduler scheduler, Exception ex)
110110
{
111-
ex = new Exception("test");
112111
var option = new DialogOption()
113112
{
114113
Class = "modal-dialog-task-ex",

0 commit comments

Comments
 (0)