Skip to content

Commit

Permalink
3.x Add missing feature flag in livewire stack (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored May 3, 2021
2 parents d4d342a + c4c9531 commit b37fc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/livewire/resources/views/profile/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</div>
@endif

@if (! is_null($user->password))
@if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures() && ! is_null($user->password))
<x-jet-section-border />

<div class="mt-10 sm:mt-0">
Expand Down

0 comments on commit b37fc8b

Please sign in to comment.