Fix: Tools: fix coverage summary page when open paths don't exist anymore

This commit is contained in:
Jacques Lucke
2024-08-17 11:29:41 +02:00
parent 20bc346cf0
commit 5819ba40f0

View File

@@ -328,6 +328,8 @@
if (paths_to_open.length == 0) {
paths_to_open.push(get_fallback_open_path());
}
/* At least open the top row in case nothing else exists. */
paths_to_open.push(root_row.name);
return paths_to_open;
}