diff --git a/app/utils/user.ts b/app/utils/user.ts index 3a8b333..1c7a3ad 100644 --- a/app/utils/user.ts +++ b/app/utils/user.ts @@ -1,5 +1,9 @@ import type { User } from "~/types/User"; export function getUserDisplayName(user: User): string { + if (user.name === "tagged-devices") { + return "Tag-owned"; + } + return user.name || user.displayName || user.email || user.id; }