Skip to content

Commit

Permalink
Fix 500 error when loading dashboards with slice having deleted dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
bechob committed Jan 15, 2021
1 parent 8adc8b8 commit 3e7b8d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/models/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def full_data(self) -> Dict[str, Any]:
# Filter out unneeded fields from the datasource payload
datasource.uid: datasource.data_for_slices(slices)
for datasource, slices in datasource_slices.items()
if datasource
},
}

Expand Down

0 comments on commit 3e7b8d1

Please sign in to comment.