aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2019-12-28 00:43:56 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-12-27 18:43:56 -0500
commit4ee97465e97ae6b9d3ac6ea57246f67715246afe (patch)
treee332e1e4c954536e393eb33eb85073f26687bd6b /templates/repo/diff
parente64880ef0767a6921498401e041bf9ad8dfa9a6f (diff)
downloadgitea-4ee97465e97ae6b9d3ac6ea57246f67715246afe.tar.gz
gitea-4ee97465e97ae6b9d3ac6ea57246f67715246afe.zip
[Fix] AllowedReaction code (#9518)
* optimize * CI.restart() Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/repo/diff')
-rw-r--r--templates/repo/diff/comments.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl
index 26029dbaa6..64080f990f 100644
--- a/templates/repo/diff/comments.tmpl
+++ b/templates/repo/diff/comments.tmpl
@@ -38,7 +38,7 @@
{{$reactions := .Reactions.GroupByType}}
{{if $reactions}}
<div class="ui attached segment reactions">
- {{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.root.RepoLink .ID) "Reactions" $reactions "AllowedReactions" $.AllowedReactions }}
+ {{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.root.RepoLink .ID) "Reactions" $reactions}}
</div>
{{end}}
</div>