mirror of https://github.com/apache/superset.git
Fix 500 error when loading dashboards with slice having deleted dataset (#12535)
This commit is contained in:
parent
c38a5fc1d8
commit
2187d1a409
|
@ -237,6 +237,7 @@ class Dashboard( # pylint: disable=too-many-instance-attributes
|
|||
# Filter out unneeded fields from the datasource payload
|
||||
datasource.uid: datasource.data_for_slices(slices)
|
||||
for datasource, slices in datasource_slices.items()
|
||||
if datasource
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue