diff --git a/src/main/resources/io/seqera/wave/inspect-view.hbs b/src/main/resources/io/seqera/wave/inspect-view.hbs
index 68795718d..030977efe 100644
--- a/src/main/resources/io/seqera/wave/inspect-view.hbs
+++ b/src/main/resources/io/seqera/wave/inspect-view.hbs
@@ -127,7 +127,6 @@
{{else}}
- {{/if}}
Container Specification
@@ -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;
@@ -223,5 +222,6 @@
document.getElementById('config-div').appendChild(createTreeView({{{config}}}));
document.getElementById('manifest-div').appendChild(createTreeView({{{manifest}}}));
+{{/if}}