Monorepo for Tangled
0

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages/templates: unpack follow fragment params

passing untyped dict so `.HxSwapOob` will resolve to nil, not panic.

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
committer
Tangled
date (Jul 22, 2026, 5:50 PM +0300) commit 61ce90e5 parent 0d0f6c98 change-id yuowquzt
+3 -3
+1 -1
appview/pages/templates/user/fragments/followCard.html
··· 24 24 </div> 25 25 {{ if and .LoggedInUser (ne .FollowStatus.String "IsSelf") }} 26 26 <div class="w-full md:w-auto md:max-w-24 order-last md:order-none"> 27 - {{ template "user/fragments/follow" . }} 27 + {{ template "user/fragments/follow" (dict "UserDid" .UserDid "FollowStatus" .FollowStatus) }} 28 28 </div> 29 29 {{ end }} 30 30 </div>
+1 -1
appview/pages/templates/user/fragments/profileCard.html
··· 89 89 90 90 <div class="flex my-2 items-center gap-2"> 91 91 {{ if ne .FollowStatus.String "IsSelf" }} 92 - {{ template "user/fragments/follow" . }} 92 + {{ template "user/fragments/follow" (dict "UserDid" .UserDid "FollowStatus" .FollowStatus) }} 93 93 {{ else }} 94 94 <button id="editBtn" 95 95 class="btn w-full flex items-center gap-2 group"
+1 -1
appview/pages/templates/user/fragments/profilePopover.html
··· 38 38 39 39 {{ if and .LoggedInUser (ne .FollowStatus.String "IsSelf") }} 40 40 <div class="flex items-center gap-2"> 41 - {{ template "user/fragments/follow" . }} 41 + {{ template "user/fragments/follow" (dict "UserDid" .UserDid "FollowStatus" .FollowStatus) }} 42 42 {{ template "user/fragments/vouchButton" (dict "VouchRelationship" .VouchRelationship) }} 43 43 </div> 44 44