mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 04:56:52 +00:00
* fix: 20 user cap * qa: invite modal dropdown + other + clamp limits * fix: hide filters if just one type * feat: update req banner * feat: invite management frontend * fix: moderation issues with shared instances * feat: instance icon improvements * fix: better offline handling * fix: lint * feat: show avatar in install to play modal * feat: smaller qa points * fix: fmt * fix: fmt * fix: yeet svg * fix: 50 user limit
32 lines
768 B
Vue
32 lines
768 B
Vue
<template>
|
|
<div class="flex flex-col gap-4 pb-20 lg:pl-4 lg:pt-1.5">
|
|
<h2 class="m-0 text-xl font-semibold text-contrast md:text-2xl">
|
|
{{ formatMessage(messages.reportsTitle) }}
|
|
</h2>
|
|
<ReportsList :auth="auth" />
|
|
</div>
|
|
</template>
|
|
<script setup>
|
|
import { defineMessages, useVIntl } from '@modrinth/ui'
|
|
|
|
import ReportsList from '~/components/ui/report/ReportsList.vue'
|
|
|
|
const { formatMessage } = useVIntl()
|
|
|
|
const messages = defineMessages({
|
|
reportsTitle: {
|
|
id: 'dashboard.reports.title',
|
|
defaultMessage: 'Reports',
|
|
},
|
|
activeReportsTitle: {
|
|
id: 'dashboard.reports.active-title',
|
|
defaultMessage: 'Active reports',
|
|
},
|
|
})
|
|
|
|
const auth = await useAuth()
|
|
useHead({
|
|
title: () => `${formatMessage(messages.activeReportsTitle)} - Modrinth`,
|
|
})
|
|
</script>
|