mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +08:00
FIX: Unable to add new webhook if the webhooks list is empty
This commit is contained in:
parent
e72fd7ae4e
commit
9cc7df13a4
|
@ -1,12 +1,12 @@
|
|||
|
||||
<div class='web-hooks-listing'>
|
||||
{{#if model}}
|
||||
<p>{{i18n 'admin.web_hooks.instruction'}}</p>
|
||||
<div class='new-webhook'>
|
||||
{{#link-to 'adminWebHooks.show' 'new' tagName='button' classNames='btn'}}
|
||||
{{d-icon 'plus'}} {{i18n 'admin.web_hooks.new'}}
|
||||
{{/link-to}}
|
||||
</div>
|
||||
{{#if model}}
|
||||
{{#load-more selector=".web-hooks tr" action="loadMore"}}
|
||||
<table class='web-hooks grid'>
|
||||
<thead>
|
||||
|
|
Loading…
Reference in New Issue
Block a user