From af1c867bf2e6db9f9fd50a484e8980036efb3013 Mon Sep 17 00:00:00 2001 From: munishchouhan Date: Tue, 29 Oct 2024 07:52:51 +0100 Subject: [PATCH] fixed inspect view Signed-off-by: munishchouhan --- src/main/resources/io/seqera/wave/inspect-view.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}