mirror of
https://github.com/modrinth/code.git
synced 2026-09-05 06:19:11 +00:00
remove async await in report card setup
This commit is contained in:
@@ -223,7 +223,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #closedActions>
|
<template #closedActions>
|
||||||
<Button
|
<Button
|
||||||
v-if="isStaff(auth.user)"
|
|
||||||
type="colored"
|
type="colored"
|
||||||
color="green"
|
color="green"
|
||||||
class="mt-2 w-full gap-2 sm:w-auto"
|
class="mt-2 w-full gap-2 sm:w-auto"
|
||||||
@@ -234,7 +233,7 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</template>
|
</template>
|
||||||
<template #additionalActions="{ hasReply }">
|
<template #additionalActions="{ hasReply }">
|
||||||
<template v-if="isStaff(auth.user)">
|
<template>
|
||||||
<Button
|
<Button
|
||||||
v-if="hasReply"
|
v-if="hasReply"
|
||||||
type="colored"
|
type="colored"
|
||||||
@@ -301,7 +300,7 @@ import SharedInstanceReportContext, {
|
|||||||
const { addNotification } = injectNotificationManager()
|
const { addNotification } = injectNotificationManager()
|
||||||
const { formatMessage } = useVIntl()
|
const { formatMessage } = useVIntl()
|
||||||
const client = injectModrinthClient()
|
const client = injectModrinthClient()
|
||||||
const auth = await useAuth()
|
// const auth = await useAuth()
|
||||||
|
|
||||||
type SharedInstanceVersionDependency = Labrinth.Versions.v2.Dependency & {
|
type SharedInstanceVersionDependency = Labrinth.Versions.v2.Dependency & {
|
||||||
project_id?: string
|
project_id?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user