diff options
author | Yorhel <git@yorhel.nl> | 2022-06-21 13:13:38 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-06-21 13:13:40 +0200 |
commit | e6c2be19a5e0ab85827b3b7bd96afa29f7157e31 (patch) | |
tree | 8f138be95be81cb1cb27cc502dd8d498b213d354 /elm | |
parent | 7a49023bc99a80c51fa2328d0b67f9aedea682da (diff) |
Tagmod: remove default vote of +2
And forcing the user to explicitely select a level, otherwise the tag
will simply not apply.
Diffstat (limited to 'elm')
-rw-r--r-- | elm/Tagmod.elm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/Tagmod.elm b/elm/Tagmod.elm index fcf5b4a5..4b7a8626 100644 --- a/elm/Tagmod.elm +++ b/elm/Tagmod.elm @@ -111,7 +111,7 @@ update msg model = if t.hidden && t.locked then ([], "Can't add deleted tags") else if not t.applicable then ([], "Tag is not applicable") else if List.any (\it -> it.id == t.id) model.tags then ([], "Tag is already in the list") - else ([{ id = t.id, vote = 2, spoil = Nothing, overrule = False, notes = "", cat = "new", name = t.name + else ([{ id = t.id, vote = 0, spoil = Nothing, overrule = False, notes = "", cat = "new", name = t.name , rating = 0, count = 0, spoiler = 0, overruled = False, othnotes = "", hidden = t.hidden, locked = t.locked, applicable = t.applicable }], "") in (changed { model | add = if ms == "" then A.clear nm "" else nm, tags = model.tags ++ nl, addMsg = ms }, c) |