diff --git a/ui/src/App.tsx b/ui/src/App.tsx index cec634f..8847544 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -46,9 +46,10 @@ import { indexdb } from "./db-tables/indexdb"; import EnableTwowaySyncConfirm from "./settings/EnableTwowaySyncConfirm"; import { deepJsonDiffCheck } from "./utils/deepJsonDiffCheck"; const AppEventListener = React.lazy(() => import("./topbar/AppEventListener")); -const ModelManagerTopbar = React.lazy( - () => import("./model-manager/topbar/ModelManagerTopbar"), +const ModelsListDrawer = React.lazy( + () => import("./model-manager/models-list-drawer/ModelsListDrawer"), ); + const usedWsEvents = [ // InstallProgress.tsx "download_progress", @@ -544,11 +545,6 @@ export default function App() { draggable={false} > - {loadChild && ( - - - - )} {loadChild && route === "recentFlows" && ( setRoute("root")} /> )} + {route === "modelList" && ( + setRoute("root")} /> + )} diff --git a/ui/src/topbar/Topbar.tsx b/ui/src/topbar/Topbar.tsx index 5a6892b..7acf59d 100644 --- a/ui/src/topbar/Topbar.tsx +++ b/ui/src/topbar/Topbar.tsx @@ -92,6 +92,15 @@ export function Topbar({ curFlowName, setCurFlowName }: Props) { +