We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2302dc1 + 07e2539 commit 762e5c9Copy full SHA for 762e5c9
resources/views/studio/links.blade.php
@@ -77,7 +77,7 @@
77
@foreach($links as $link)
78
@php $button = Button::find($link->button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} @endphp
79
@php if($buttonName == "default email"){$buttonName = "email";} if($buttonName == "default email_alt"){$buttonName = "email_alt";} @endphp
80
- @if($button->name !== 'icon')
+ @if($button && $button->name !== 'icon')
81
<div class='row h-100 pb-0 mb-2 border rounded hvr-glow w-100' data-id="{{$link->id}}">
82
<div class="d-flex ">
83
0 commit comments