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
I try to implement a login button with cv-global-action that is only renders when the user is not logged in. After the user is logged in a profile button should be rendered instead. Below is the template:
The login button will be rendered when the page loads. However when the state $store.state.isUserLoggedIn turns true, the profile button is not rendered as expected. Also when the login state is changed to false, the login icon will not be rendered as expected.
Is this a feature request (new component, new icon), a bug, or a general issue?
Possibly a bug.
Is this issue related to a specific component?
cv-header, cv-header-global-action
What did you expect to happen? What happened instead? What would you like to see changed?
What browser are you working in?
Vivaldi 3.3 64-bit on Windows 10 2009
What version of the Carbon Design System are you using?
Detailed description
I try to implement a login button with
cv-global-action
that is only renders when the user is not logged in. After the user is logged in a profile button should be rendered instead. Below is the template:The login button will be rendered when the page loads. However when the state
$store.state.isUserLoggedIn
turnstrue
, the profile button is not rendered as expected. Also when the login state is changed to false, the login icon will not be rendered as expected.Possibly a bug.
cv-header
,cv-header-global-action
Vivaldi 3.3 64-bit on Windows 10 2009
Additional information
When using
slot="header-global"
instead ofv-slot:header-global
the issue doesn't seem to occur. Possibly related to #936The text was updated successfully, but these errors were encountered: