diff --git a/app/client/ui/HomeLeftPane.ts b/app/client/ui/HomeLeftPane.ts index 89087741..073e71cf 100644 --- a/app/client/ui/HomeLeftPane.ts +++ b/app/client/ui/HomeLeftPane.ts @@ -176,6 +176,7 @@ function addMenu(home: HomeModel, creating: Observable): DomElementArg[ menuItem(() => importFromPluginAndOpen(home, source), menuIcon('Import'), source.importSource.label, + dom.cls('disabled', !home.newDocWorkspace.get()), testId(`dm-import-plugin`) )) ])),