Index: runtime/observatory/lib/src/elements/instance_view.html |
diff --git a/runtime/observatory/lib/src/elements/instance_view.html b/runtime/observatory/lib/src/elements/instance_view.html |
index e1bb8302d42842cddd3438e20a3666a5369ccd9a..fb393774c3ea50634305fb32037a01f8b5bc3aa6 100644 |
--- a/runtime/observatory/lib/src/elements/instance_view.html |
+++ b/runtime/observatory/lib/src/elements/instance_view.html |
@@ -168,11 +168,12 @@ |
elements ({{ instance.elements.length }}) |
<curly-block expand="{{ instance.elements.length <= 100 }}"> |
<div class="memberList"> |
- <template repeat="{{ element in instance.elements }}"> |
+ <template repeat="{{ index in instance.elements.asMap().keys }}"> |
<div class="memberItem"> |
- <div class="memberName">[{{ element['index']}}]</div> |
+ <div class="memberName">[{{ index }}]</div> |
<div class="memberValue"> |
- <any-service-ref ref="{{ element['value'] }}"></any-service-ref> |
+ <any-service-ref ref="{{ instance.elements[index] }}"> |
+ </any-service-ref> |
</div> |
</div> |
</template> |