@@ -138,14 +138,13 @@ import {
138138 LinkIcon ,
139139 OrganizationIcon ,
140140} from ' @modrinth/assets'
141- import type { ExtendedReport , ReportQuickReply } from ' @modrinth/moderation'
141+ import type { ExtendedReport } from ' @modrinth/moderation'
142+ import type { OverflowMenuOption } from ' @modrinth/ui'
142143import {
143144 Avatar ,
144145 ButtonStyled ,
145- CollapsibleRegion ,
146146 injectNotificationManager ,
147147 OverflowMenu ,
148- type OverflowMenuOption ,
149148 useRelativeTime ,
150149} from ' @modrinth/ui'
151150import { computed } from ' vue'
@@ -159,7 +158,7 @@ const props = defineProps<{
159158}>()
160159
161160const reportThread = ref <InstanceType <typeof ReportThread > | null >(null )
162- const collapsibleRegion = ref <InstanceType <typeof CollapsibleRegion > | null >(null )
161+ // const collapsibleRegion = ref<InstanceType<typeof CollapsibleRegion> | null>(null)
163162
164163const formatRelativeTime = useRelativeTime ()
165164
@@ -198,14 +197,14 @@ const quickActions: OverflowMenuOption[] = [
198197 },
199198]
200199
201- async function handleQuickReply(reply : ReportQuickReply ) {
202- const message =
203- typeof reply .message === ' function' ? await reply .message (props .report ) : reply .message
200+ // async function handleQuickReply(reply: ReportQuickReply) {
201+ // const message =
202+ // typeof reply.message === 'function' ? await reply.message(props.report) : reply.message
204203
205- collapsibleRegion .value ?.setCollapsed (false )
206- await nextTick ()
207- reportThread .value ?.setReplyContent (message )
208- }
204+ // collapsibleRegion.value?.setCollapsed(false)
205+ // await nextTick()
206+ // reportThread.value?.setReplyContent(message)
207+ // }
209208
210209const reportItemAvatarUrl = computed (() => {
211210 switch (props .report .item_type ) {
0 commit comments