diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 243819d09..eda8ffcaa 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -258,7 +258,7 @@ } function loadModelVersion(value){ console.log("value=" + value); - if(value ==null && value ==""){ + if(value ==null || value ==""){ $(".ui.dropdown.selection.search.width70").removeClass("loading") }else{ let nameMap = modelData.nameMap