Skip to content

Commit

Permalink
Fix inspect view (#725)
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan authored Oct 29, 2024
1 parent e38e2c4 commit dcf41de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/io/seqera/wave/inspect-view.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
</h4>
</div>
{{else}}
{{/if}}
<h3>Container Specification</h3>
<table>
<tr>
Expand Down Expand Up @@ -180,7 +179,7 @@
if (data.hasOwnProperty(key)) {
const li = document.createElement('li');
if (typeof data[key] === 'object' && !Array.isArray(data[key]) && Object.keys(data[key]).length > 0 && Object.keys(data[key]).length !== undefined) {
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 Expand Up @@ -223,5 +222,6 @@
document.getElementById('config-div').appendChild(createTreeView({{{config}}}));
document.getElementById('manifest-div').appendChild(createTreeView({{{manifest}}}));
</script>
{{/if}}
</body>
</html>

0 comments on commit dcf41de

Please sign in to comment.