fix: disable wire navigate for social login
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
link="{{ route('oauth.redirect', ['provider' => $provider]) }}"
|
||||
class="btn-sm btn-block my-1 text-white"
|
||||
style='background-color: {{ config("services.$provider.color") }}'
|
||||
no-wire-navigate
|
||||
external
|
||||
>
|
||||
@include("components.social.$provider-icon")
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
'link' => null,
|
||||
'route' => null,
|
||||
'external' => false,
|
||||
'noWireNavigate' => false,
|
||||
'badge' => null,
|
||||
'badgeClasses' => null,
|
||||
'badge' => false,
|
||||
@@ -40,7 +39,7 @@
|
||||
target="_blank"
|
||||
@endif
|
||||
|
||||
@if(!$external && !$noWireNavigate)
|
||||
@if(!$external)
|
||||
{{ $attributes->wire('navigate')->value() ? $attributes->wire('navigate') : 'wire:navigate' }}
|
||||
@endif
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user