You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maximilianweidenauer edited this page Oct 3, 2023
·
1 revision
In some cases you may want to check which user is currently logged in before calling an api function. With the api.getUser function this is possible.
Example
Here I'm checking which user is currently logged in and according to that, I'm either adding the "LiveCounter" custom-screen or the "ProjectImages" custom-screen.