mirror of
https://github.com/docmost/docmost.git
synced 2026-08-25 15:57:11 +08:00
refactor: dim the you suffix in the creator filter
This commit is contained in:
@@ -127,9 +127,13 @@ export function CreatorFilterMenu({
|
|||||||
/>
|
/>
|
||||||
<div style={{ flex: 1, minWidth: 0 }}>
|
<div style={{ flex: 1, minWidth: 0 }}>
|
||||||
<Text size="sm" fw={500} truncate>
|
<Text size="sm" fw={500} truncate>
|
||||||
{user.id === currentUser?.id
|
{user.name}
|
||||||
? `${user.name} (${t("you")})`
|
{user.id === currentUser?.id && (
|
||||||
: user.name}
|
<Text span size="sm" c="dimmed" fw={400}>
|
||||||
|
{" "}
|
||||||
|
({t("you")})
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
</Text>
|
</Text>
|
||||||
{user.email && (
|
{user.email && (
|
||||||
<Text size="xs" c="dimmed" truncate>
|
<Text size="xs" c="dimmed" truncate>
|
||||||
|
|||||||
Reference in New Issue
Block a user