Skip to content

Commit 1ecfc1c

Browse files
authored
Update unsubscribe.blade.php
Add an extra check to see if the user has a UUID, because if the email was never sent, they won't have one (no subscription has been created).
1 parent 00930d3 commit 1ecfc1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@props(['subscription'])
22

3+
@if($subscription?->uuid)
34
<div style="text-align: center; margin: 1em 0; font-size: 0.9em;">
45
<a href="{{ route('notifications.unsubscribe', ['uuid' => $subscription->uuid]) }}">Unsubscribe</a>
5-
</div>
6+
</div>
7+
@endif

0 commit comments

Comments
 (0)