summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-09-21 11:33:28 +0200
committerYorhel <git@yorhel.nl>2020-09-21 11:33:30 +0200
commit29d49ca2c7160a898e5e0a40baecd3766bdf99d6 (patch)
treeadeeb665f8353a2da1b321c60b6cd8bd3e3cac23
parenta757446ea9b6511338889dbc5409b9fea77ed779 (diff)
Report: Fix display of edit-yourself message
It was being displayed for entries users could not edit themselves but hidden for users that could...
-rw-r--r--elm/Report.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/Report.elm b/elm/Report.elm
index f63a9411..6553043b 100644
--- a/elm/Report.elm
+++ b/elm/Report.elm
@@ -69,7 +69,7 @@ reasons =
, { label = "Unmarked spoilers"
, vis = vis
, submit = True
- , msg = \o -> if editable o then [] else
+ , msg = \o -> if not (editable o) then [] else
[ text "VNDB is an open wiki, it is often easier if you removed the spoilers yourself by "
, a [ href ("/" ++ o ++ "/edit") ] [ text " editing the entry" ]
, text ". You likely know more about this entry than our moderators, after all. "