Skip to content

Commit

Permalink
fix: Fixed follow and follower list page not warking.
Browse files Browse the repository at this point in the history
  • Loading branch information
nrck committed May 12, 2024
1 parent 1a1cf99 commit 1c03c66
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@page "/Profile/{Id}/Followers"
@using PheasantTails.TwiHigh.Data.Model.TwiHighUsers
@inherits TwiHighPageBase
@rendermode InteractiveAuto

<PageTitle>@(ViewModel.PageTitle.Value) - @(BRAND_NAME)</PageTitle>
<THOpenGraphProtocol Title="@($"{ViewModel.PageTitle.Value} - {BRAND_NAME}")"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@page "/Profile/{Id}/Follows"
@using PheasantTails.TwiHigh.Data.Model.TwiHighUsers
@inherits TwiHighPageBase
@rendermode InteractiveAuto

<PageTitle>@(ViewModel.PageTitle.Value) - @(BRAND_NAME)</PageTitle>
<THOpenGraphProtocol Title="@($"{ViewModel.PageTitle.Value} - {BRAND_NAME}")"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
</section>

@* Timeline *@
@if (TimelineWorkerService.Timeline.Count == 0)
@if (TimelineWorkerService.Timeline == null)
{
<THLoading />
}
else if (TimelineWorkerService.Timeline.Count == 0)
{
<THNoContents NoContentsText="@("まずは @twihigh をフォローしてみよう!")" />
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@using Microsoft.AspNetCore.Components.Authorization
@page "/"
@inherits TwiHighPageBase
@rendermode InteractiveAuto

<PageTitle>@(BRAND_NAME)</PageTitle>
<THOpenGraphProtocol />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*@
@page "/Licence"
@inherits TwiHighPageBase
@rendermode InteractiveAuto

<PageTitle>ライセンス - @(BRAND_NAME)</PageTitle>
<THOpenGraphProtocol />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@page "/{UserDisplayId}/Status/{TweetId}"
@page "/{UserDisplayId}/Status/{TweetId}/reply"
@inherits TwiHighPageBase
@rendermode InteractiveAuto

@* タイトル *@
<PageTitle>@(ViewModel.PageTitle.Value) - @(BRAND_NAME)</PageTitle>
Expand Down

0 comments on commit 1c03c66

Please sign in to comment.