Index: runtime/observatory/lib/src/elements/context_view.html |
diff --git a/runtime/observatory/lib/src/elements/context_view.html b/runtime/observatory/lib/src/elements/context_view.html |
index a0b56f5a7240f4fcd786ff5a137a68186f62ae8d..efffcb11ef8842433f94f60550bf53c85b115f90 100644 |
--- a/runtime/observatory/lib/src/elements/context_view.html |
+++ b/runtime/observatory/lib/src/elements/context_view.html |
@@ -31,12 +31,14 @@ |
<div class="memberList"> |
<div class="memberItem"> </div> |
- <div class="memberItem"> |
- <div class="memberName">parent context</div> |
- <div class="memberValue"> |
- <any-service-ref ref="{{ context.parentContext }}"></any-service-ref> |
+ <template if="{{ context.parentContext != null }}"> |
+ <div class="memberItem"> |
+ <div class="memberName">parent context</div> |
+ <div class="memberValue"> |
+ <any-service-ref ref="{{ context.parentContext }}"></any-service-ref> |
+ </div> |
</div> |
- </div> |
+ </template> |
</div> |
</div> |
@@ -52,7 +54,7 @@ |
<div class="memberName">[{{ index }}]</div> |
<div class="memberValue"> |
<any-service-ref |
- ref="{{ context.variables[index]{'value'] }}"> |
+ ref="{{ context.variables[index]['value'] }}"> |
</any-service-ref> |
</div> |
</div> |