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 07a6ae2 commit 464c880Copy full SHA for 464c880
src/BootstrapBlazor/Components/Table/Table.razor.Toolbar.cs
@@ -1158,11 +1158,10 @@ private ToastOption GetToastOption(string title)
1158
var option = new ToastOption()
1159
{
1160
Title = title,
1161
- Delay = Options.CurrentValue.ToastDelay
1162
};
1163
- if (option.Delay == 0)
+ if (Options.CurrentValue.ToastDelay > 0)
1164
1165
- option.Delay = Math.Max(1000, ToastDelay);
+ option.Delay = Options.CurrentValue.ToastDelay;
1166
}
1167
return option;
1168
0 commit comments