mirror of
https://github.com/docmost/docmost.git
synced 2026-08-26 00:07:04 +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 }}>
|
||||
<Text size="sm" fw={500} truncate>
|
||||
{user.id === currentUser?.id
|
||||
? `${user.name} (${t("you")})`
|
||||
: user.name}
|
||||
{user.name}
|
||||
{user.id === currentUser?.id && (
|
||||
<Text span size="sm" c="dimmed" fw={400}>
|
||||
{" "}
|
||||
({t("you")})
|
||||
</Text>
|
||||
)}
|
||||
</Text>
|
||||
{user.email && (
|
||||
<Text size="xs" c="dimmed" truncate>
|
||||
|
||||
Reference in New Issue
Block a user