diff --git a/public/app/features/annotations/annotations_srv.ts b/public/app/features/annotations/annotations_srv.ts index c40a704c2a5..060c6af50a5 100644 --- a/public/app/features/annotations/annotations_srv.ts +++ b/public/app/features/annotations/annotations_srv.ts @@ -29,7 +29,7 @@ export class AnnotationsSrv { this.getGlobalAnnotations(options), this.getPanelAnnotations(options) ]).then(allResults => { - return _.flatten(allResults); + return _.flattenDeep(allResults); }).catch(err => { this.$rootScope.appEvent('alert-error', ['Annotations failed', (err.message || err)]); }); diff --git a/public/app/features/dashboard/submenu/submenu.html b/public/app/features/dashboard/submenu/submenu.html index 1e1513d4021..d7e14bd662b 100644 --- a/public/app/features/dashboard/submenu/submenu.html +++ b/public/app/features/dashboard/submenu/submenu.html @@ -1,30 +1,23 @@