Isolatioswiderstand Chart abhängig von dropdown menu select name und nicht von Titel

This commit is contained in:
ISA
2025-08-12 12:11:47 +02:00
parent 31a54deb2d
commit b8b5c36a60
7 changed files with 23 additions and 11 deletions

View File

@@ -288,7 +288,11 @@ const IsoChartActionBar: React.FC = () => {
<div className="flex items-center space-x-2">
{/* DateRangePicker für beide Ansichten sichtbar, da Meldungen auch datumsabhängig sind */}
<div>
<div
style={{
visibility: chartTitle === "Messkurve" ? "visible" : "hidden",
}}
>
<DateRangePicker />
</div>
@@ -362,6 +366,9 @@ const IsoChartActionBar: React.FC = () => {
{/* Daten laden Button lädt je nach Ansicht Messkurve oder Meldungen */}
<button
style={{
visibility: chartTitle === "Messkurve" ? "visible" : "hidden",
}}
onClick={handleFetchData}
className="px-4 py-1 bg-littwin-blue text-white rounded text-sm"
>