Skip to content

When logged in, Application usage card does not show name and avatar. #272

@taghwo

Description

@taghwo

Pulse Version

1.0.0-beta8

Laravel Version

10.4

PHP Version

8.1

Livewire Version

3.02

Database Driver & Version

PostgreSQL: 15.2

Description

On my local set up. When I am logged into my app and I visit '/pulse', the Application usage card shows the counts with no name, email and avatar.
On logging out from the app and I visit '/pulse' I see all the information.
Is this normal?

Screenshot 2024-01-10 at 14 58 44

This is how I am resolving the user:

  Pulse::user(fn ($user) => [
            'name' => $user->full_name,
            'extra' => $user->email,
            'avatar' => ""
  ]);

Steps To Reproduce

Set up Laravel Pulse.
Login into your app, visit some pages.
Navigate to /pulse page.
I cannot see name or email except I logout of the app and visit /pulse again then I see the information.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions