Dashboard: No longer includes default datasource when externally exporting dashboard with row (#32494)

Closes #31065
This commit is contained in:
kay delaney
2021-03-31 08:26:32 +01:00
committed by GitHub
parent 2def9a8172
commit 230f95dc47

View File

@@ -109,7 +109,7 @@ export class DashboardExporter {
};
const processPanel = (panel: PanelModel) => {
if (panel.datasource !== undefined) {
if (panel.datasource !== undefined && panel.datasource !== null) {
templateizeDatasourceUsage(panel);
}