Index: runtime/observatory/lib/src/elements/error_view.dart |
diff --git a/runtime/observatory/lib/src/elements/error_view.dart b/runtime/observatory/lib/src/elements/error_view.dart |
index aeb3aa848038081b50b206770a5eb7d138d0f03b..92fee0867a029eed7ec12ddff7d86edb02d5642f 100644 |
--- a/runtime/observatory/lib/src/elements/error_view.dart |
+++ b/runtime/observatory/lib/src/elements/error_view.dart |
@@ -7,17 +7,16 @@ library error_view_element; |
import 'dart:html'; |
import 'dart:async'; |
import 'package:observatory/models.dart' as M; |
+import 'package:observatory/src/elements/helpers/nav_bar.dart'; |
import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
import 'package:observatory/src/elements/helpers/tag.dart'; |
-import 'package:observatory/src/elements/nav/bar.dart'; |
import 'package:observatory/src/elements/nav/notify.dart'; |
import 'package:observatory/src/elements/nav/top_menu.dart'; |
import 'package:observatory/src/elements/view_footer.dart'; |
class ErrorViewElement extends HtmlElement implements Renderable{ |
static const tag = const Tag<ErrorViewElement>('error-view', |
- dependencies: const [NavBarElement.tag, |
- NavTopMenuElement.tag, |
+ dependencies: const [NavTopMenuElement.tag, |
NavNotifyElement.tag, |
ViewFooterElement.tag]); |
@@ -60,11 +59,10 @@ class ErrorViewElement extends HtmlElement implements Renderable{ |
void render() { |
children = [ |
- new NavBarElement(queue: _r.queue) |
- ..children = [ |
- new NavTopMenuElement(last: true, queue: _r.queue), |
- new NavNotifyElement(_notifications, queue: _r.queue) |
- ], |
+ navBar([ |
+ new NavTopMenuElement(queue: _r.queue), |
+ new NavNotifyElement(_notifications, queue: _r.queue) |
+ ]), |
new DivElement() |
..classes = ['content-centered'] |
..children = [ |