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:
@@ -46,6 +46,7 @@
|
|||||||
>{{ t("Close") }}</o-button
|
>{{ t("Close") }}</o-button
|
||||||
>
|
>
|
||||||
<o-button
|
<o-button
|
||||||
|
v-if="antispamEnabled"
|
||||||
outlined
|
outlined
|
||||||
@click="reportToAntispam(true)"
|
@click="reportToAntispam(true)"
|
||||||
variant="text"
|
variant="text"
|
||||||
@@ -53,6 +54,7 @@
|
|||||||
>{{ t("Report as spam") }}</o-button
|
>{{ t("Report as spam") }}</o-button
|
||||||
>
|
>
|
||||||
<o-button
|
<o-button
|
||||||
|
v-if="antispamEnabled"
|
||||||
outlined
|
outlined
|
||||||
@click="reportToAntispam(false)"
|
@click="reportToAntispam(false)"
|
||||||
variant="text"
|
variant="text"
|
||||||
|
|||||||
Reference in New Issue
Block a user