Hide duplicated webhook create button

When there are no webhooks yet the button below the table will be hidden
This commit is contained in:
root 2023-10-22 14:45:58 +02:00
parent 691682bc0c
commit 5eaf1f4438

View File

@ -80,7 +80,7 @@
</tbody>
</table>
<div style="padding:8px;">
<div v-if="webhooks.length > 0" style="padding:8px;">
<a href="webhooks/create" class="btn btn-success"><span class="fa fa-plus fa-fw"></span>{{ $t('firefly.create_new_webhook') }}</a>
</div>
</div>