adds chart title to window, adds light mode to chartswindowpage

This commit is contained in:
litoral05
2026-05-28 08:51:22 +01:00
parent c54c2c6518
commit 65b419c5ca
4 changed files with 59 additions and 41 deletions
@@ -392,7 +392,13 @@ export function MainChartsPage({ theme }: MainChartsPageProps) {
);
window.setTimeout(() => {
void openChartWindow(chartId);
const chart = charts.find((item) => item.id === chartId);
void openChartWindow(
chartId,
theme,
chart?.title ?? "Chart",
);
}, 100);
};