Skip to content

Commit

Permalink
Merge pull request #8217 from coronasafe/develop
Browse files Browse the repository at this point in the history
Merge Develop to Staging v24.31.0 | Minor Fix
  • Loading branch information
gigincg authored Jul 26, 2024
2 parents 0f8a2ff + f76248c commit 25f8789
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Components/Users/ManageUsers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -561,9 +561,11 @@ export default function ManageUsers() {
value(
"Last Active",
"last_active_days",
qParams.last_active_days === "never"
? "Never"
: `in the last ${qParams.last_active_days} day${qParams.last_active_days > 1 ? "s" : ""}`,
(() => {
if (!qParams.last_active_days) return "";
if (qParams.last_active_days === "never") return "Never";
return `in the last ${qParams.last_active_days} day${qParams.last_active_days > 1 ? "s" : ""}`;
})(),
),
]}
/>
Expand Down

0 comments on commit 25f8789

Please sign in to comment.