mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 14:03:33 +09:00
only show separator when there are items before
This commit is contained in:
1 parent
ac47385909
commit
16ddb217f6
1 file changed
+1
-1
@@ -221,7 +221,7 @@ export const FontsManager = ({ value, onChange }: FontsManagerProps) => {
|
||||
})}
|
||||
{systemItems.length !== 0 && (
|
||||
<>
|
||||
<Separator css={{ my: "$1" }} />
|
||||
{uploadedItems.length !== 0 && <Separator css={{ my: "$1" }} />}
|
||||
<ListItem state="disabled">{"System"}</ListItem>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user