Fixed minor UI bug displaying 0 or 1 models in Download Tab.
This commit is contained in:
@@ -2352,11 +2352,11 @@ class DownloadTab {
|
|||||||
id,
|
id,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
if (modelInfos.length === 0) {
|
if (modelInfosHtml.length === 0) {
|
||||||
modelInfosHtml.push($el("div", ["No results found."]));
|
modelInfosHtml.push($el("div", ["No results found."]));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (modelInfos.length === 1) {
|
if (modelInfosHtml.length === 1) {
|
||||||
modelInfosHtml[0].open = true;
|
modelInfosHtml[0].open = true;
|
||||||
}
|
}
|
||||||
const label = $checkbox({
|
const label = $checkbox({
|
||||||
|
|||||||
Reference in New Issue
Block a user