share rule modes working

This commit is contained in:
2026-02-17 15:41:51 -06:00
parent e5c7666a2d
commit 9a3bd4cca3
2 changed files with 21 additions and 5 deletions
+2 -1
View File
@@ -336,7 +336,8 @@ export const SettingsView: Component = () => {
<Tag size={14} class="text-muted-foreground shrink-0" />
<div class="min-w-0">
<p class="text-sm font-medium truncate flex items-center gap-2">
{getUserName(rule.targetUserId)}
{/* If it's a user tag, show the person's name. If it's a bucket, show the bucket name (tagName). */}
{tagDef?.isUser ? getUserName(rule.targetUserId) : rule.tagName}
{tagDef?.isUser ? <Users size={10} class="text-muted-foreground" /> : <Archive size={10} class="text-muted-foreground" />}
</p>
<p class="text-[10px] text-muted-foreground uppercase tracking-wider flex items-center gap-1">