diff --git a/examples/Demo/AssetExplorer/Components/Pages/EmojiExplorer.razor.cs b/examples/Demo/AssetExplorer/Components/Pages/EmojiExplorer.razor.cs index a0b57f5e48..a86360c8e5 100644 --- a/examples/Demo/AssetExplorer/Components/Pages/EmojiExplorer.razor.cs +++ b/examples/Demo/AssetExplorer/Components/Pages/EmojiExplorer.razor.cs @@ -56,6 +56,8 @@ .. EmojiExtensions.AllEmojis , ]; + await PaginationState.SetCurrentPageIndexAsync(0); + await PaginationState.SetTotalItemCountAsync(EmojisFound.Length); _searchResultMessage = EmojisFound.Length == 0 ? "No emoji found." : string.Empty; diff --git a/examples/Demo/AssetExplorer/Components/Pages/IconExplorer.razor.cs b/examples/Demo/AssetExplorer/Components/Pages/IconExplorer.razor.cs index 744d83147d..ea5f177364 100644 --- a/examples/Demo/AssetExplorer/Components/Pages/IconExplorer.razor.cs +++ b/examples/Demo/AssetExplorer/Components/Pages/IconExplorer.razor.cs @@ -63,6 +63,8 @@ .. IconsExtensions.AllIcons , ]; + await PaginationState.SetCurrentPageIndexAsync(0); + await PaginationState.SetTotalItemCountAsync(IconsFound.Length); _searchResultMessage = IconsFound.Length == 0 ? "No icons found." : string.Empty;