Only show report as spam/ham buttons if antispam feature is enabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-02-16 14:50:12 +01:00
parent cfa1754ab5
commit 39768693c5
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@
>{{ t("Close") }}</o-button
>
<o-button
v-if="antispamEnabled"
outlined
@click="reportToAntispam(true)"
variant="text"
@ -53,6 +54,7 @@
>{{ t("Report as spam") }}</o-button
>
<o-button
v-if="antispamEnabled"
outlined
@click="reportToAntispam(false)"
variant="text"