Skip to content
Snippets Groups Projects

chore(deps): update all non-major dependencies (minor)

Merged Reiter, Christoph requested to merge renovate/all-minor-patch into main
Compare and Show latest version
7 files
+ 111
82
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -73,7 +73,7 @@ export class AppShell extends ScopedElementsMixin(DBPLitElement) {
this.boundCloseMenuHandler = this.hideMenu.bind(this);
this.initateOpenMenu = false;
this.auth = {};
this.auth = null;
this.langDir = '';
}
@@ -332,6 +332,11 @@ export class AppShell extends ScopedElementsMixin(DBPLitElement) {
break;
case 'auth':
{
// kill event if auth gets default
if (this.auth === null) {
break;
}
if (this.auth.person) {
this._roles = this.auth.person['roles'];
} else {
@@ -340,11 +345,14 @@ export class AppShell extends ScopedElementsMixin(DBPLitElement) {
this._updateVisibleRoutes();
const loginStatus = this.auth['login-status'];
if (loginStatus !== this._loginStatus) {
console.log('Login status: ' + loginStatus);
}
this._loginStatus = loginStatus;
if (loginStatus !== undefined) {
this._loginStatus = loginStatus;
}
// Clear the session storage when the user logs out
if (this._loginStatus === 'logging-out') {
@@ -943,13 +951,9 @@ export class AppShell extends ScopedElementsMixin(DBPLitElement) {
// if app is loaded correctly, remove spinner
this.updateComplete.then(() => {
const slot = this.shadowRoot.querySelector('slot:not([name])');
if (slot) slot.style.display = 'none';
});
} else {
// if app is not loaded correctly, show spinner
this.updateComplete.then(() => {
const slot = this.shadowRoot.querySelector('slot:not([name])');
if (slot) slot.style.display = '';
// remove for safari 12 support. safari 13+ supports display: none on slots.
if (slot) slot.remove();
});
}
Loading