From 638ac9a7ec18d2a7eef2b7d97101ddbb1086694e Mon Sep 17 00:00:00 2001 From: bahmcloud Date: Thu, 15 Jan 2026 07:18:57 +0000 Subject: [PATCH] custom_components/bahmcloud_store/panel/panel.js aktualisiert --- custom_components/bahmcloud_store/panel/panel.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/custom_components/bahmcloud_store/panel/panel.js b/custom_components/bahmcloud_store/panel/panel.js index 3e145d8..dcfbb91 100644 --- a/custom_components/bahmcloud_store/panel/panel.js +++ b/custom_components/bahmcloud_store/panel/panel.js @@ -236,10 +236,7 @@ class BahmcloudStorePanel extends HTMLElement { .small { font-size: 12px; } - a { - color: var(--bcs-accent); - text-decoration: none; - } + a { color: var(--bcs-accent); text-decoration: none; } a:hover { text-decoration: underline; } @@ -247,7 +244,7 @@ class BahmcloudStorePanel extends HTMLElement {
Bahmcloud Store
-
BCS 0.3.0 — repository enrichment
+
BCS — loading…
@@ -281,6 +278,11 @@ class BahmcloudStorePanel extends HTMLElement { const content = root.getElementById("content"); const err = root.getElementById("error"); + // Subtitle version (no hardcoding) + const subtitle = root.getElementById("subtitle"); + const v = this._data?.version ? String(this._data.version) : null; + subtitle.textContent = v ? `BCS ${v}` : "BCS — loading…"; + for (const tab of root.querySelectorAll(".tab")) { tab.classList.toggle("active", tab.getAttribute("data-view") === this._view); }