Skip to content

Commit c205b89

Browse files
committed
Instantiate a composite on loading
1 parent 591cbad commit c205b89

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

js/composite_table.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ const compositeTable = class {
3535
.text("Add new composite");
3636
this.table = this.container.append("table").append("tbody");
3737
this.rows = [];
38-
this.nRows = 0
38+
this.nRows = 0;
39+
40+
this.addRow(dataObj.addCompositeData({idx: this.nRows}))
3941
}
4042

4143
addRow(compositeDataObj) {

0 commit comments

Comments
 (0)