fix: Missing icons in document explorer, incorrect active styling

This commit is contained in:
Tom Moor
2024-07-10 07:57:39 -04:00
parent 9419e65837
commit f02bbc3942
2 changed files with 2 additions and 1 deletions

View File

@@ -230,7 +230,7 @@ function DocumentExplorer({ onSubmit, onSelect, items }: Props) {
title = node.title;
} else {
const doc = documents.get(node.id);
icon = doc?.icon ?? node.icon;
icon = doc?.icon ?? node.icon ?? node.emoji;
color = doc?.color ?? node.color;
title = doc?.title ?? node.title;

View File

@@ -120,6 +120,7 @@ export const Node = styled.span<{
color: ${props.theme.white};
svg {
color: ${props.theme.white};
fill: ${props.theme.white};
}
`}