diff --git a/beat/web/reports/static/reports/app/directives/view/layout.js b/beat/web/reports/static/reports/app/directives/view/layout.js index 69ce17a762da4290579e2d17dbd1f9dcdb4c5bb3..b04199a46fb3d89e6af1b07338260fedf0bd0084 100644 --- a/beat/web/reports/static/reports/app/directives/view/layout.js +++ b/beat/web/reports/static/reports/app/directives/view/layout.js @@ -45,7 +45,7 @@ angular.module('reportApp').directive("groupsLayout", ['GroupsService', function <div id='groupsLayout' class='panel-group'> <div group-panel-content - ng-repeat='group in groups' + ng-repeat='group in groups track by $index' group='group' > </div> diff --git a/beat/web/reports/static/reports/app/directives/view/panelItems.js b/beat/web/reports/static/reports/app/directives/view/panelItems.js index 6ff325d43a6194bd2af4771432cf4f4a30113b1f..4d8161c9e03bf0fff15ba91edc3438655c6e357d 100644 --- a/beat/web/reports/static/reports/app/directives/view/panelItems.js +++ b/beat/web/reports/static/reports/app/directives/view/panelItems.js @@ -36,7 +36,7 @@ angular.module('reportApp').directive("groupPanelItems", [function(){ <div> <div group-item-container - ng-repeat='item in group.reportItems' + ng-repeat='item in group.reportItems track by $index' group='group' report-item='item' style='margin-bottom: 5px;' diff --git a/beat/web/reports/static/reports/app/directives/view/tableItem.js b/beat/web/reports/static/reports/app/directives/view/tableItem.js index 28aa3c9e58e4bdeb9dc003f085887c33d279b26a..e9be49c6166ad0744d799580f75987cf845c1b39 100644 --- a/beat/web/reports/static/reports/app/directives/view/tableItem.js +++ b/beat/web/reports/static/reports/app/directives/view/tableItem.js @@ -172,7 +172,7 @@ angular.module('reportApp') <table class="table table-striped table-hover"> <thead> <tr> - <th ng-repeat='field in fields'> + <th ng-repeat='field in fields track by $index'> <span ng-if="sortField.val == field" class='glyphicon' @@ -190,7 +190,7 @@ angular.module('reportApp') </thead> <tbody> <tr ng-repeat="exp in group.experiments | orderBy:sortFunc:sortField.isReversed"> - <td ng-repeat='field in fields'> + <td ng-repeat='field in fields track by $index'> {{ getFieldVal(exp, field) }} </td> </tr> diff --git a/beat/web/reports/static/reports/app/directives/view/textItem.js b/beat/web/reports/static/reports/app/directives/view/textItem.js index 49c0316f2b430123c348ac058570ebdee776203d..c3890b1e89f1b8e1b673171a8f4c6c5ded19e37e 100644 --- a/beat/web/reports/static/reports/app/directives/view/textItem.js +++ b/beat/web/reports/static/reports/app/directives/view/textItem.js @@ -49,7 +49,6 @@ angular.module('reportApp') scope.compileContent = () => { let url = UrlService.getCompileRstUrl(); let mapToTextBlock = `${scope.group.name}|${scope.group.reportItems.indexOf(scope.reportItem)}`; - console.log(mapToTextBlock); return reportFactory.compileRST(url, mapToTextBlock) .then(data => {