Skip to content

Commit

Permalink
how 'Unknown' instead of 'false' if other browser session Useragent d…
Browse files Browse the repository at this point in the history
…etails are not matched in library.
  • Loading branch information
tsommie committed Feb 9, 2022
1 parent 5dbb3b0 commit 12012b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<div class="ms-2">
<div>
{{ session.agent.platform }} - {{ session.agent.browser }}
{{ session.agent.platform ? session.agent.platform : 'Unknown' }} - {{ session.agent.browser ? session.agent.browser : 'Unknown' }}
</div>

<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<div class="ms-2">
<div>
{{ $session->agent->platform() }} - {{ $session->agent->browser() }}
{{ $session->agent->platform() ? $session->agent->platform() : 'Unknown' }} - {{ $session->agent->browser() ? $session->agent->browser() : 'Unknown' }}
</div>

<div>
Expand Down

0 comments on commit 12012b2

Please sign in to comment.