Skip to content

Commit 6ef99dd

Browse files
authored
Merge pull request #42 from DutchCodingCompany/fix/change-label-if-not-authenticated
Change label if user is not authenticated.
2 parents 2e0b8b4 + 07ac290 commit 6ef99dd

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)