Index: runtime/observatory/lib/src/elements/instance_ref.html |
diff --git a/runtime/observatory/lib/src/elements/instance_ref.html b/runtime/observatory/lib/src/elements/instance_ref.html |
index 6d80f6cdfebb72e210d9cd08e29ca36dac40e63f..b6e86f41466d080179c9467ea34dd7f92d2405ec 100644 |
--- a/runtime/observatory/lib/src/elements/instance_ref.html |
+++ b/runtime/observatory/lib/src/elements/instance_ref.html |
@@ -64,11 +64,12 @@ |
<a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> ({{ ref.length }})</a> |
<curly-block callback="{{ expander() }}"> |
<div class="memberList"> |
- <template repeat="{{ element in ref.elements }}"> |
+ <template repeat="{{ index in ref.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="{{ ref.elements[index] }}"> |
+ </any-service-ref> |
</div> |
</div> |
</template> |