Skip to content

Commit

Permalink
Fix a bug caused by status webhook template (#33512)
Browse files Browse the repository at this point in the history
Fix #33511
  • Loading branch information
lunny authored Feb 6, 2025
1 parent f076ada commit 58daaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/settings/webhook/settings.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<div class="seven wide column">
<div class="field">
<div class="ui checkbox">
<input name="status" type="checkbox" {{if .Webhook.HookEvents.Get "status"}}checked{{end}}>
<input name="status" type="checkbox" {{if .Webhook.Status}}checked{{end}}>
<label>{{ctx.Locale.Tr "repo.settings.event_statuses"}}</label>
<span class="help">{{ctx.Locale.Tr "repo.settings.event_statuses_desc"}}</span>
</div>
Expand Down

0 comments on commit 58daaf6

Please sign in to comment.