Skip to content

Commit 4c6e5c8

Browse files
committed
"MudBlazor" Version="8.0.0-preview.6"
1 parent c4979f7 commit 4c6e5c8

7 files changed

Lines changed: 7 additions & 7 deletions

src/Server.UI/Components/Autocompletes/LanguageAutocomplete.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public LanguageAutocomplete()
1818

1919
private List<LanguageCode> Languages { get; set; } = LocalizationConstants.SupportedLanguages.ToList();
2020

21-
private Task<IEnumerable<string>> SearchFunc_(string value, CancellationToken cancellation = default)
21+
private Task<IEnumerable<string>> SearchFunc_(string? value, CancellationToken cancellation = default)
2222
{
2323
// 如果输入为空,返回完整的语言列表;否则进行模糊搜索
2424
return string.IsNullOrEmpty(value)

src/Server.UI/Components/Autocompletes/MultiTenantAutocomplete.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected override async ValueTask DisposeAsyncCore()
3333
await base.DisposeAsyncCore();
3434
}
3535

36-
private Task<IEnumerable<TenantDto>> SearchKeyValues(string value, CancellationToken cancellation)
36+
private Task<IEnumerable<TenantDto>> SearchKeyValues(string? value, CancellationToken cancellation)
3737
{
3838
IEnumerable<TenantDto> result;
3939

src/Server.UI/Components/Autocompletes/PickSuperiorIdAutocomplete.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public PickSuperiorIdAutocomplete()
2020

2121
[Inject] private IUserService UserService { get; set; } = default!;
2222

23-
private Task<IEnumerable<ApplicationUserDto>> SearchKeyValues(string value, CancellationToken cancellation)
23+
private Task<IEnumerable<ApplicationUserDto>> SearchKeyValues(string? value, CancellationToken cancellation)
2424
{
2525
var result = UserService.DataSource.Where(x =>
2626
x.TenantId != null && x.TenantId.Equals(TenantId) && !x.UserName.Equals(OwnerName));

src/Server.UI/Components/Autocompletes/PickUserAutocomplete.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected override async ValueTask DisposeAsyncCore()
3636
await base.DisposeAsyncCore();
3737
}
3838

39-
private Task<IEnumerable<ApplicationUserDto>> SearchKeyValues(string value, CancellationToken cancellation)
39+
private Task<IEnumerable<ApplicationUserDto>> SearchKeyValues(string? value, CancellationToken cancellation)
4040
{
4141
var result = UserService.DataSource.Where(x => x.TenantId != null && x.TenantId.Equals(TenantId));
4242

src/Server.UI/Components/Autocompletes/PicklistAutocomplete.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected override async ValueTask DisposeAsyncCore()
4040
await base.DisposeAsyncCore();
4141
}
4242

43-
private Task<IEnumerable<string>> SearchFunc_(string value, CancellationToken cancellation = default)
43+
private Task<IEnumerable<string>> SearchFunc_(string? value, CancellationToken cancellation = default)
4444
{
4545
// if text is null or empty, show complete list
4646
return string.IsNullOrEmpty(value)

src/Server.UI/Components/Autocompletes/TimeZoneAutocomplete.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public TimeZoneAutocomplete()
1616

1717
private List<TimeZoneInfo> TimeZones { get; set; } = TimeZoneInfo.GetSystemTimeZones().ToList();
1818

19-
private Task<IEnumerable<string>> SearchFunc_(string value, CancellationToken cancellation = default)
19+
private Task<IEnumerable<string>> SearchFunc_(string? value, CancellationToken cancellation = default)
2020
{
2121
return string.IsNullOrEmpty(value)
2222
? Task.FromResult(TimeZones.Select(tz => tz.Id).AsEnumerable())

src/Server.UI/Server.UI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<PackageReference Include="BlazorDownloadFile" Version="2.4.0.2" />
2121
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.6" />
2222
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0" />
23-
<PackageReference Include="MudBlazor" Version="8.0.0-preview.5" />
23+
<PackageReference Include="MudBlazor" Version="8.0.0-preview.6" />
2424
<PackageReference Include="Toolbelt.Blazor.HotKeys2" Version="5.1.0" />
2525
<PackageReference Include="Blazor-ApexCharts" Version="4.0.1" />
2626
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">

0 commit comments

Comments
 (0)