summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/layerdetails.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
index 9ead393cbf..933b65b4ca 100644
--- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
+++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
@@ -359,7 +359,8 @@ function layerDetailsPageInit (ctx) {
359 if ($(this).is("dt")) { 359 if ($(this).is("dt")) {
360 var dd = $(this).next("dd"); 360 var dd = $(this).next("dd");
361 if (!dd.children("form:visible")|| !dd.find(".current-value").html()){ 361 if (!dd.children("form:visible")|| !dd.find(".current-value").html()){
362 if (ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_IMPORTED){ 362 if (ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_IMPORTED ||
363 ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_LOCAL) {
363 /* There's no current value and the layer is editable 364 /* There's no current value and the layer is editable
364 * so show the "Not set" and hide the delete icon 365 * so show the "Not set" and hide the delete icon
365 */ 366 */