@Leonardo-Galani is there anything you need to do to reproduce this issue? Opening and closing the notifications?
Variables in widget (html)
-
Can I get the result {user.username}, {user.picture} in the widget? If so, how to do it?
-
@youhosi only if the user data is provided in the template context
-
Is there any api? Anything?
-
You can check what is available by checking the api route for whatever page the widget will be on. For instance, for the category page, you can visit
/api/categories
to see what is available. -
Use data from Maciev
ajaxify.data.loggedInUser
To check the data in the array, enter
ajaxify.data.loggedInUser
in the browser console