Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyurajeesh committed Dec 26, 2024
1 parent d3585b1 commit b9e746c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Users/UserListAndCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,12 @@ export const UserStatusIndicator = ({
cur_online ? "text-green-700" : "text-gray-500",
)}
>
{cur_online ? t("online") : t("offline")}
//{cur_online ? t("online") : t("offline")}
{cur_online
? t("online")
: user.last_login
? relativeTime(user.last_login)
: t("never")}
</span>
</div>
);
Expand Down

0 comments on commit b9e746c

Please sign in to comment.