Index: Tools/GardeningServer/ui/ct-unexpected-failures.html |
diff --git a/Tools/GardeningServer/ui/ct-unexpected-failures.html b/Tools/GardeningServer/ui/ct-unexpected-failures.html |
index 05e7d548ae3ef75f87f5e71f5105cb1cd01448cd..77405f3e57cef959a6dd092043c022f7d4b60960 100644 |
--- a/Tools/GardeningServer/ui/ct-unexpected-failures.html |
+++ b/Tools/GardeningServer/ui/ct-unexpected-failures.html |
@@ -10,7 +10,7 @@ found in the LICENSE file. |
<link rel="import" href="ct-failure-stream.html"> |
<link rel="import" href="ct-tree-status.html"> |
-<polymer-element name="ct-unexpected-failures"> |
+<polymer-element name="ct-unexpected-failures" attributes="tree"> |
<template> |
<style> |
ct-tree-status { |
@@ -29,7 +29,7 @@ found in the LICENSE file. |
<ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRevisions="{{ builderLatestRevisions }}"></ct-failure-analyzer> |
<ct-tree-status project="chromium"></ct-tree-status> |
<ct-tree-status project="blink"></ct-tree-status> |
- <ct-failure-stream groups="{{ failures }}" commits="{{ revisionLog }}"></ct-failure-stream> |
+ <ct-failure-stream groups="{{ failures[tree] }}" commits="{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream> |
</template> |
<script> |
(function() { |
@@ -37,6 +37,7 @@ found in the LICENSE file. |
Polymer({ |
revisionLog: new CTCommitLog(), |
+ tree: '', |
attached: function() { |
this.update(); |