FIX: Unable to add new webhook if the webhooks list is empty

This commit is contained in:
Vinoth Kannan 2018-07-04 09:48:11 +05:30
parent e72fd7ae4e
commit 9cc7df13a4

View File

@ -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>