diff --git a/web/containers/DropdownListSidebar/index.tsx b/web/containers/DropdownListSidebar/index.tsx index 76cbd05dda..bf4d873cc9 100644 --- a/web/containers/DropdownListSidebar/index.tsx +++ b/web/containers/DropdownListSidebar/index.tsx @@ -246,14 +246,15 @@ const DropdownListSidebar = ({
- {downloadedModels.length === 0 ? ( -
-

{`Oops, you don't have a model yet.`}

-
- ) : ( - - <> - {modelOptions.map((x, i) => ( + + + <> + {modelOptions.length === 0 ? ( +
+

{`Oops, you don't have a model yet.`}

+
+ ) : ( + modelOptions.map((x, i) => (
- ))} - -
- )} + )) + )} + +