mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-07 09:36:58 +02:00
fix: Don't show export and delete when library is empty (#3288)
This commit is contained in:
@@ -144,6 +144,8 @@ const LibraryMenuItems = ({
|
||||
});
|
||||
}}
|
||||
/>
|
||||
{!!library.length && (
|
||||
<>
|
||||
<ToolButton
|
||||
key="export"
|
||||
type="button"
|
||||
@@ -171,7 +173,8 @@ const LibraryMenuItems = ({
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
</>
|
||||
)}
|
||||
<a
|
||||
href={`https://libraries.excalidraw.com?referrer=${referrer}`}
|
||||
target="_excalidraw_libraries"
|
||||
|
Reference in New Issue
Block a user