Skip to content

Commit 10b7ed1

Browse files
committed
Merge branch 'patch-1' of https://github.com/aborjinik/js-framework-benchmark into aborjinik-patch-1
2 parents 59fe532 + ffbf930 commit 10b7ed1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frameworks/non-keyed/openui5/webapp/ControlRenderer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
sap.ui.define([], function () {
66

77
var ControlRenderer = {
8-
apiVersion: 2
8+
apiVersion: 4
99
};
1010

1111
ControlRenderer.render = function (oRM, oControl) {
@@ -101,7 +101,7 @@ sap.ui.define([], function () {
101101
//rows
102102
oControl.getRows().forEach(row => {
103103
// <tr id={{this.id}} class={{this._class}}></tr>
104-
oRM.openStart("tr");
104+
oRM.openStart("tr", row.id + "");
105105
if (row.id === selected) {
106106
oRM.class("danger");
107107
}
@@ -161,4 +161,4 @@ sap.ui.define([], function () {
161161

162162
return ControlRenderer;
163163

164-
}, /* bExport= */ true);
164+
}, /* bExport= */ true);

0 commit comments

Comments
 (0)