Просмотр исходного кода

fix: add track by name in annotation list to avoid $$hashKey in json

Brice Maron 7 лет назад
Родитель
Сommit
01f80950de
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/features/annotations/partials/editor.html

+ 1 - 1
public/app/features/annotations/partials/editor.html

@@ -21,7 +21,7 @@
 				</tr>
 			</thead>
 			<tbody>
-				<tr ng-repeat="annotation in ctrl.annotations">
+				<tr ng-repeat="annotation in ctrl.annotations track by annotation.name">
 					<td style="width:90%" ng-hide="annotation.builtIn" class="pointer" ng-click="ctrl.edit(annotation)">
 						<i class="fa fa-comment" style="color:{{annotation.iconColor}}"></i> &nbsp;
 						{{annotation.name}}