fix: Hide empty dashboard outputs
All checks were successful
Build Docker / Build Image (push) Successful in 49s

This commit is contained in:
Nathan Woodburn 2025-01-29 14:38:13 +11:00
parent 9c32ec788e
commit ca32bf7780
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -348,5 +348,7 @@ def plugin_output_dash(outputs, returns):
for returnOutput in returns: for returnOutput in returns:
if returnOutput not in outputs: if returnOutput not in outputs:
continue continue
if outputs[returnOutput] == None:
continue
html += render_template('components/dashboard-plugin.html', name=returns[returnOutput]["name"], output=outputs[returnOutput]) html += render_template('components/dashboard-plugin.html', name=returns[returnOutput]["name"], output=outputs[returnOutput])
return html return html