From 3bf95b29933a7486fc373eeeee455de4d38d2bfa Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Fri, 21 Oct 2022 11:26:15 +0800 Subject: [PATCH] add CreateLibraryDialog to sidebar dropdown --- packages/interface/src/components/layout/Sidebar.tsx | 12 ++++++++---- packages/ui/src/Dropdown.tsx | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/packages/interface/src/components/layout/Sidebar.tsx b/packages/interface/src/components/layout/Sidebar.tsx index 9320c09e7..b47217bfa 100644 --- a/packages/interface/src/components/layout/Sidebar.tsx +++ b/packages/interface/src/components/layout/Sidebar.tsx @@ -184,7 +184,9 @@ export function Sidebar() { )} > {/* this shouldn't default to "My Library", it is only this way for landing demo */} - {isLoadingLibraries ? 'Loading...' : library ? library.config.name : ' '} + + {isLoadingLibraries ? 'Loading...' : library ? library.config.name : ' '} + } // to support the transparent sidebar on macOS we use slightly adjusted styles @@ -206,9 +208,11 @@ export function Sidebar() { Library Settings - - Library Settings - + + + Add Library + +