diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 22c40d971a..5b7787728d 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js @@ -382,6 +382,11 @@ function layerDetailsPageInit (ctx) { } }); + /* Hide the right column if it contains no information */ + if ($("dl.item-info").children(':visible').length == 0) { + $("dl.item-info").parent().hide(); + } + /* Clear the current search selection and reload the results */ $(".target-search-clear").click(function(){ $("#target-search").val("");