Skip to content

Commit

Permalink
Fixes on saved tags feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mangia committed Mar 14, 2023
1 parent b964c45 commit 56c1c93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions Nostrid.Core/Pages/Explore.razor
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
@foreach (var feedSource in feedSources)
{
<div role="button" class="mx--3 px-3 py-2 d-flex flex-row align-items-center bg-tertiary-hover"
@onclick="@(() => navigationManager.NavigateTo($"/feed/{feedSource.Id}"))" @onclick:stopPropagation="true">
<div class="flex-grow-1">
<NavLink class="text-nowrap fs-5" href="#">
<i class="bi bi-hash" aria-hidden="true"></i>@string.Join(", ", feedSource.Hashtags.ToArray())
</NavLink>
@onclick="@(() => navigationManager.NavigateTo($"/feed/{feedSource.Id}"))">
<div class="flex-grow-1 fs-5">
<i class="bi bi-hash" aria-hidden="true"></i>@string.Join(", ", feedSource.Hashtags.ToArray())
</div>
<div>
<a class="fs-5 lh-1 text-body" @onclick="@(() => RemoveSavedFeed(feedSource.Id))" @onclick:stopPropagation="true">
Expand Down
2 changes: 1 addition & 1 deletion Nostrid.Core/Pages/HashtagFeed.razor
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
OwnerId = accountService.MainAccount.Id,
};
feedService.SaveFeedSource(feedSource);
navigationManager.NavigateTo($"/favorite/feed/{feedSource.Id}");
navigationManager.NavigateTo($"/feed/{feedSource.Id}");
}
}

0 comments on commit 56c1c93

Please sign in to comment.