diff --git a/packages/auth/src/vpu-auth.js b/packages/auth/src/vpu-auth.js index 1359a76aa7b0ec72cc6273db7f217ba58b86cee2..5143093fff5ac6a6ae133e2fb2524e79bcff192f 100644 --- a/packages/auth/src/vpu-auth.js +++ b/packages/auth/src/vpu-auth.js @@ -2,6 +2,7 @@ import {i18n} from './i18n.js'; import {html, css, LitElement} from 'lit-element'; import JSONLD from 'vpu-common/jsonld' import * as commonUtils from 'vpu-common/utils'; +import * as commonStyles from 'vpu-common/styles'; import 'vpu-common/vpu-icon.js'; /** @@ -30,7 +31,7 @@ class VPUAuth extends LitElement { this.name = ""; this.personId = ""; this.loggedIn = false; - this.rememberLogin = false + this.rememberLogin = false; this.person = null; // Create the events @@ -241,7 +242,7 @@ class VPUAuth extends LitElement { static get styles() { // language=css return css` - ${commonUtils.getThemeCSS()} + ${commonStyles.getThemeCSS()} .dropdown.is-active .dropdown-menu, .dropdown.is-hoverable:hover .dropdown-menu { display: block; @@ -323,7 +324,7 @@ class VPUAuth extends LitElement { </div> <div class="dropdown-menu" id="dropdown-menu2" role="menu"> <div class="dropdown-content"> - ${imageURL ? html`<img src="${imageURL}" width="40%" height="40%" class="dropdown-item">` : ''} + ${imageURL ? html`<img alt="" src="${imageURL}" width="40%" height="40%" class="dropdown-item">` : ''} <a href="#" @click="${(e) => {e.preventDefault(); this.dispatchProfileEvent();}}" class="dropdown-item">${i18n.t('profile')}</a> <a href="#" @click="${this.logout}" class="dropdown-item">${i18n.t('logout')}</a> </div> diff --git a/packages/auth/vendor/common b/packages/auth/vendor/common index e5002ced8cc5b5bba3b89e8e6c928d855635fb86..3e9951654309c18ae99c19cdc403f3e4336363b0 160000 --- a/packages/auth/vendor/common +++ b/packages/auth/vendor/common @@ -1 +1 @@ -Subproject commit e5002ced8cc5b5bba3b89e8e6c928d855635fb86 +Subproject commit 3e9951654309c18ae99c19cdc403f3e4336363b0