fix empty check

This commit is contained in:
shibafu 2020-07-24 12:00:17 +09:00
parent 08ab0c6543
commit d3ecfd1fb8

View File

@ -31,7 +31,7 @@
@endif @endif
</div> </div>
</div> </div>
@if (!empty($webhooks)) @if (!$webhooks->isEmpty())
<h4 class="mt-4">作成済みのWebhook</h4> <h4 class="mt-4">作成済みのWebhook</h4>
<div class="list-group mt-3"> <div class="list-group mt-3">
@foreach ($webhooks as $webhook) @foreach ($webhooks as $webhook)