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

Closes #31065

(cherry picked from commit 230f95dc47)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2021-03-31 09:20:39 +01:00
committed by GitHub
co-authored by kay delaney
parent cc871bd682
commit 8943e7383d
@@ -109,7 +109,7 @@ export class DashboardExporter {
};
const processPanel = (panel: PanelModel) => {
if (panel.datasource !== undefined) {
if (panel.datasource !== undefined && panel.datasource !== null) {
templateizeDatasourceUsage(panel);
}