Skip to content

Commit 266c7bc

Browse files
committed
Add track by to overview service instance row
1 parent f2945e1 commit 266c7bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/overview.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ <h2>
362362
</h2>
363363
<div class="list-pf">
364364
<service-instance-row
365-
ng-repeat="serviceInstance in overview.filteredServiceInstances"
365+
ng-repeat="serviceInstance in overview.filteredServiceInstances track by (serviceInstance | uid)"
366366
api-object="serviceInstance"
367367
bindings="overview.bindingsByInstanceRef[serviceInstance.metadata.name]"
368368
state="overview.state"></service-instance-row>

dist/scripts/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11457,7 +11457,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1145711457
"Provisioned Services\n" +
1145811458
"</h2>\n" +
1145911459
"<div class=\"list-pf\">\n" +
11460-
"<service-instance-row ng-repeat=\"serviceInstance in overview.filteredServiceInstances\" api-object=\"serviceInstance\" bindings=\"overview.bindingsByInstanceRef[serviceInstance.metadata.name]\" state=\"overview.state\"></service-instance-row>\n" +
11460+
"<service-instance-row ng-repeat=\"serviceInstance in overview.filteredServiceInstances track by (serviceInstance | uid)\" api-object=\"serviceInstance\" bindings=\"overview.bindingsByInstanceRef[serviceInstance.metadata.name]\" state=\"overview.state\"></service-instance-row>\n" +
1146111461
"</div>\n" +
1146211462
"</div>\n" +
1146311463
"</div>\n" +

0 commit comments

Comments
 (0)