We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a036507 commit 5cc1c91Copy full SHA for 5cc1c91
web_src/js/features/repo-commit.js
@@ -45,7 +45,12 @@ export function initRepoCommitLastCommitLoader() {
45
$('table#repo-files-table .commit-list').replaceWith(row);
46
return;
47
}
48
- entryMap[$(row).attr('data-entryname')].replaceWith(row);
+ // there are other <tr> rows in response (eg: <tr class="has-parent">)
49
+ // at the moment only the "data-entryname" rows should be processed
50
+ const entryName = $(row).attr('data-entryname');
51
+ if (entryName) {
52
+ entryMap[entryName].replaceWith(row);
53
+ }
54
});
55
56
0 commit comments