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:
parent
cfa1754ab5
commit
39768693c5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue