Skip to content

Commit 07ac290

Browse files
authored
Change label if user is not authenticated in
1 parent 2e0b8b4 commit 07ac290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/livewire/menu-logins.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<x-filament::dropdown>
44
<x-slot name="trigger">
55
<x-filament::button icon="heroicon-o-user" color="gray" outlined="false">
6-
{{ __('filament-developer-logins::auth.switch-to') }}
6+
{{ auth()->check() ? __('filament-developer-logins::auth.switch-to') : __('filament-developer-logins::auth.login-as') }}
77
</x-filament::button>
88
</x-slot>
99

0 commit comments

Comments
 (0)