Skip to content

Commit d1a8b65

Browse files
committed
Fix issue where selecting tag in searchByTag will not result in new results
1 parent 6a72c12 commit d1a8b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LinkDotNet.Blog.Web/Pages/SearchByTag.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
public string Tag { get; set; }
2020

2121
IList<BlogPost> blogPosts = new List<BlogPost>();
22-
protected override async Task OnInitializedAsync()
22+
protected override async Task OnParametersSetAsync()
2323
{
2424
Tag = Uri.UnescapeDataString(Tag);
2525
blogPosts = (await blogPostRepository.GetAllAsync(

0 commit comments

Comments
 (0)