Index: Tools/GardeningServer/ui/ct-results-panel.html |
diff --git a/Tools/GardeningServer/ui/ct-results-panel.html b/Tools/GardeningServer/ui/ct-results-panel.html |
index 6d2d5316a709eb833dea5367b2534c331dbc9cd2..0789d19124d5191ab2048b80ee5cdccaed60cc81 100644 |
--- a/Tools/GardeningServer/ui/ct-results-panel.html |
+++ b/Tools/GardeningServer/ui/ct-results-panel.html |
@@ -9,7 +9,7 @@ found in the LICENSE file. |
<link rel="import" href="ct-results-by-builder.html"> |
<link rel="import" href="ct-embedded-flakiness-dashboard.html"> |
-<polymer-element name="ct-results-panel" attributes="failures"> |
+<polymer-element name="ct-results-panel" attributes="failures tree"> |
<template> |
<style> |
:host { |
@@ -56,7 +56,7 @@ found in the LICENSE file. |
<div class="results"> |
<!-- FIXME: Do this in a better way than comparing to the test name. --> |
<template if="{{ failures[selected].testName != 'whole step failed' }}"> |
- <ct-embedded-flakiness-dashboard test="{{ failures[selected] }}"></ct-embedded-flakiness-dashboard> |
+ <ct-embedded-flakiness-dashboard test="{{ failures[selected] }}" tree="{{ tree }}"></ct-embedded-flakiness-dashboard> |
</template> |
<ct-results-by-builder failure="{{ failures[selected] }}"></ct-results-by-builder> |
</div> |
@@ -66,6 +66,7 @@ found in the LICENSE file. |
Polymer({ |
failures: [], |
selected: 0, |
+ tree: '', |
failuresChanged: function() { |
this.selected = 0; |