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 3ea5da3 commit 949b10eCopy full SHA for 949b10e
test/UnitTest/Components/TableTest.cs
@@ -980,6 +980,7 @@ public async Task PageItemsSource_Ok()
980
pb.Add(a => a.RenderMode, TableRenderMode.Table);
981
pb.Add(a => a.PageItemsSource, [2, 4, 8]);
982
pb.Add(a => a.IsPagination, true);
983
+ pb.Add(a => a.IsAutoScrollTopWhenClickPage, true);
984
pb.Add(a => a.OnQueryAsync, OnQueryAsync(localizer));
985
pb.Add(a => a.TableColumns, foo => builder =>
986
{
@@ -1058,7 +1059,7 @@ Task<QueryData<Foo>> MockOnQueryAsync(QueryPageOptions options)
1058
1059
return Task.FromResult(new QueryData<Foo>()
1060
1061
Items = items,
- TotalCount = items.Count(),
1062
+ TotalCount = 80,
1063
IsAdvanceSearch = true,
1064
IsFiltered = true,
1065
IsSearch = true,
0 commit comments