fix: add track by name in annotation list to avoid $$hashKey in json
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<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)">
|
<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>
|
<i class="fa fa-comment" style="color:{{annotation.iconColor}}"></i>
|
||||||
{{annotation.name}}
|
{{annotation.name}}
|
||||||
|
|||||||
Reference in New Issue
Block a user