fix: make datasource selection work (#4944)

This commit is contained in:
Pedro Köhler authored and GitHub committed 2025-04-11 09:42:54 -04:00
1 parent ffc7ab6845
commit a9b180c5d4
3 files changed
+32 -29

No files matched your search

@@ -40,7 +40,7 @@ async function promptSaveReport({ servicesManager, commandsManager, extensionMan
});
if (promptResult.action === PROMPT_RESPONSES.CREATE_REPORT) {
const dataSources = extensionManager.getDataSources();
const dataSources = extensionManager.getDataSources(promptResult.dataSourceName);
const dataSource = dataSources[0];
const measurementData = measurementService.getMeasurements(measurementFilter);