misc: more clearly indicate selected community
This commit is contained in:
1 parent
ea72f6697f
commit
ac504b8bce
4 files changed
+42
-41
No files matched your search
@@ -28,13 +28,10 @@
|
||||
|
||||
onMount(() => {
|
||||
if (browser)
|
||||
setSessionStorage('lastSeenCommunity', {
|
||||
id: data.community.community_view.community.id,
|
||||
name: fullCommunityName(
|
||||
data.community.community_view.community.name,
|
||||
data.community.community_view.community.actor_id
|
||||
),
|
||||
})
|
||||
setSessionStorage(
|
||||
'lastSeenCommunity',
|
||||
data.community.community_view.community
|
||||
)
|
||||
})
|
||||
|
||||
onDestroy(() => {
|
||||
|
||||
@@ -161,8 +161,6 @@
|
||||
community={post.post_view.community}
|
||||
user={post.post_view.creator}
|
||||
bind:subscribed={post.community_view.subscribed}
|
||||
upvotes={post.post_view.counts.upvotes}
|
||||
downvotes={post.post_view.counts.downvotes}
|
||||
deleted={post.post_view.post.deleted}
|
||||
removed={post.post_view.post.removed}
|
||||
locked={post.post_view.post.locked}
|
||||
|
||||
Reference in new issue
Block a user