| Index: Tools/GardeningServer/ui/ct-commit-list.html
|
| diff --git a/Tools/GardeningServer/ui/ct-commit-list.html b/Tools/GardeningServer/ui/ct-commit-list.html
|
| index 287946a6797003523ee515f42f8889fb0ccb159a..501f65eefb791c4db86789a90379e1294a27053b 100644
|
| --- a/Tools/GardeningServer/ui/ct-commit-list.html
|
| +++ b/Tools/GardeningServer/ui/ct-commit-list.html
|
| @@ -20,7 +20,7 @@ found in the LICENSE file.
|
| display: block;
|
| }
|
| </style>
|
| - <template repeat="{{ repository in commitList | _repositories }}">
|
| + <template repeat="{{ repository in commitList.repositories }}">
|
| <div class="repository-info">
|
| {{ repository.name }} {{ repository.range }}
|
| <paper-icon-button icon="unfold-more"
|
| @@ -35,21 +35,9 @@ found in the LICENSE file.
|
| </template>
|
| <script>
|
| Polymer({
|
| - repositories: undefined,
|
| -
|
| - created: function() {
|
| - this.repositories = [];
|
| - },
|
| -
|
| - _repositories: function() {
|
| - if (this.commitList)
|
| - this.repositories = this.commitList.repositories();
|
| - return this.repositories;
|
| - },
|
| -
|
| _toggle: function(event, detail, sender, target) {
|
| var repo = sender.getAttribute('repository');
|
| - var r = this.repositories.find(function(item) {
|
| + var r = this.commitList.repositories.find(function(item) {
|
| return item.name === repo;
|
| });
|
| r.expanded = !r.expanded;
|
|
|