mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
remove additional template
This commit is contained in:
@@ -233,28 +233,26 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</template>
|
</template>
|
||||||
<template #additionalActions="{ hasReply }">
|
<template #additionalActions="{ hasReply }">
|
||||||
<template>
|
<Button
|
||||||
<Button
|
v-if="hasReply"
|
||||||
v-if="hasReply"
|
type="colored"
|
||||||
type="colored"
|
color="red"
|
||||||
color="red"
|
class="w-full gap-2 sm:w-auto"
|
||||||
class="w-full gap-2 sm:w-auto"
|
@click="closeReport(true)"
|
||||||
@click="closeReport(true)"
|
>
|
||||||
>
|
<CheckCircleIcon class="size-4" />
|
||||||
<CheckCircleIcon class="size-4" />
|
Reply and close
|
||||||
Reply and close
|
</Button>
|
||||||
</Button>
|
<Button
|
||||||
<Button
|
v-else
|
||||||
v-else
|
type="colored"
|
||||||
type="colored"
|
color="red"
|
||||||
color="red"
|
class="w-full gap-2 sm:w-auto"
|
||||||
class="w-full gap-2 sm:w-auto"
|
@click="closeReport()"
|
||||||
@click="closeReport()"
|
>
|
||||||
>
|
<CheckCircleIcon class="size-4" />
|
||||||
<CheckCircleIcon class="size-4" />
|
Close report
|
||||||
Close report
|
</Button>
|
||||||
</Button>
|
|
||||||
</template>
|
|
||||||
</template>
|
</template>
|
||||||
</ThreadView>
|
</ThreadView>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user