fix: show community in reports page

This commit is contained in:
Xyphyn committed 2023-10-03 15:55:32 -07:00
1 parent 0dd1d14320
commit facb1081c9
5 files changed
+3 -13

No files matched your search

-2
View File
@@ -14,7 +14,6 @@
import { onMount } from 'svelte'
import { browser } from '$app/environment'
import { Forward, Icon } from 'svelte-hero-icons'
import { DEFAULT_INSTANCE_URL, instance } from '$lib/instance.js'
import { routes } from '$lib/util.js'
nProgress.configure({
@@ -57,7 +56,6 @@
})
}
})
$: title = routes[($page.route.id as keyof typeof routes) ?? '']
</script>
+1 -1
View File
@@ -94,7 +94,7 @@
</script>
{#if item.type == 'comment'}
<CommentItem comment={item.item} />
<CommentItem community={true} comment={item.item} />
{:else if item.type == 'post'}
<Post post={item.item} />
{:else if item.type == 'message'}