Dashboard datasource: Include source panel annotations (#95958)

This commit is contained in:
kay delaney 2024-11-06 13:52:54 +00:00 committed by GitHub
parent d225e0a95c
commit 9d4a087d77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ export class DashboardDatasource extends DataSourceApi<DashboardQuery> {
return sourceDataProvider!.getResultsStream!().pipe(
map((result) => {
return {
data: result.data.series,
data: [...result.data.series, ...(result.data.annotations ?? [])],
state: result.data.state,
errors: result.data.errors,
error: result.data.error,