feat: hide scores if 'show scores' is disabled in profile

This commit is contained in:
Xylight committed 2024-09-05 17:43:44 -07:00
1 parent 683523d32c
commit f562c54efa
3 files changed
+32 -28

No files matched your search

-4
View File
@@ -1,9 +1,5 @@
import { profile } from '$lib/auth.js'
import CommunityCard from '$lib/components/lemmy/community/CommunityCard.svelte'
import { getClient } from '$lib/lemmy.js'
import { userSettings } from '$lib/settings.js'
import type { ListingType, SortType } from 'lemmy-js-client'
import { get } from 'svelte/store'
export async function load(req: any) {
const community = await getClient(undefined, req.fetch).getCommunity({