only show mod zone toggle to mods on appeal page

pull/9004/head
Thibault Duplessis 2021-05-21 11:58:57 +02:00
parent 7592e1e563
commit 9ccbf9d103
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ object discussion {
"Appeal",
modData.isDefined option frag(" by ", userIdLink(appeal.id.some))
),
div(cls := "actions")(
modData.isDefined option div(cls := "actions")(
a(
cls := "button button-empty mod-zone-toggle",
href := routes.User.mod(appeal.id),