Commit 42afade 1 parent f1182c8 commit 42afade Copy full SHA for 42afade
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ class DataHarmonizer {
162
162
163
163
// Reset specify header modal values when the modal is closed
164
164
$ ( '#specify-headers-modal' ) . on ( 'hidden.bs.modal' , ( ) => {
165
+ $ ( '.mapping-row' ) . remove ( ) ;
165
166
$ ( '#specify-headers-err-msg' ) . hide ( ) ;
166
167
$ ( '#specify-headers-confirm-btn' ) . unbind ( ) ;
167
168
} ) ;
@@ -1355,9 +1356,9 @@ class DataHarmonizer {
1355
1356
const rowCells = expectedHeaderCell + actualHeaderCell ;
1356
1357
let row ;
1357
1358
if ( expectedHeader !== matrix [ 1 ] [ i ] ) {
1358
- row = $ ( `<tr class="table-warning">${ rowCells } </tr>` ) ;
1359
+ row = $ ( `<tr class="table-warning mapping-row ">${ rowCells } </tr>` ) ;
1359
1360
} else {
1360
- row = $ ( `<tr>${ rowCells } </tr>` ) ;
1361
+ row = $ ( `<tr class="mapping-row" >${ rowCells } </tr>` ) ;
1361
1362
}
1362
1363
$fieldMappingBody . append ( row ) ;
1363
1364
} ) ;
You can’t perform that action at this time.
0 commit comments