fix: show community in reports page
This commit is contained in:
1 parent
0dd1d14320
commit
facb1081c9
5 files changed
+3
-13
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
@@ -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'}
|
||||
|
||||
Reference in new issue
Block a user