Skip to content

Commit

Permalink
Fix inspect view empty nodes (#706)
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan authored Oct 21, 2024
1 parent 4314220 commit b3473b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/io/seqera/wave/inspect-view.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
if (data.hasOwnProperty(key)) {
const li = document.createElement('li');
if (typeof data[key] === 'object' && !Array.isArray(data[key])) {
if (typeof data[key] === 'object' && !Array.isArray(data[key]) && Object.keys(data[key]).length > 0) {
const details = document.createElement('details');
const summary = document.createElement('summary');
summary.textContent = key;
Expand Down

0 comments on commit b3473b7

Please sign in to comment.