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