Skip to content
Snippets Groups Projects
Commit 55fd95f9 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Disable theme switcher with one theme

parent a477c6ed
Branches
Tags
No related merge requests found
Pipeline #85840 passed
......@@ -236,7 +236,7 @@ export class ColorMode extends ScopedElementsMixin(DBPLitElement) {
const i18n = this._i18n;
return html`
<div class="${classMap({hidden: this.themes.length === 0})}">
<div class="${classMap({hidden: this.themes.length <= 1})}">
<a class="mode-button" title="${i18n.t('color-mode')}"
@click="${() => {this.toggleModeMenu();}}"><dbp-icon name="contrast"></dbp-icon></a>
<ul class='extended-menu hidden'>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment