adds chart title to window, adds light mode to chartswindowpage
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user