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:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user