mirror of
https://github.com/outline/outline.git
synced 2026-12-06 19:22:29 +03:00
fix: viewed just now
This commit is contained in:
1 parent
d123cd6bfb
commit
e6f1a06e07
2 files changed
+2
-1
No files matched your search
@@ -52,7 +52,7 @@ router.post(
|
||||
const lastActiveAt = mentionedUser.lastActiveAt;
|
||||
let description;
|
||||
if (lastViewedAt && differenceInMinutes(new Date(), lastViewedAt) < 5) {
|
||||
description = t("Currently viewing", { ...opts(user) });
|
||||
description = t("Viewed just now", { ...opts(user) });
|
||||
} else if (
|
||||
lastActiveAt &&
|
||||
differenceInMinutes(new Date(), lastActiveAt) < 5
|
||||
|
||||
@@ -899,6 +899,7 @@
|
||||
"Webhooks can be used to notify your application when events happen in {{appName}}. Events are sent as a https request with a JSON payload in near real-time.": "Webhooks can be used to notify your application when events happen in {{appName}}. Events are sent as a https request with a JSON payload in near real-time.",
|
||||
"Inactive": "Inactive",
|
||||
"Create a webhook": "Create a webhook",
|
||||
"Viewed just now": "Viewed just now",
|
||||
"Online now • Viewed {{ lastViewedAt }}": "Online now • Viewed {{ lastViewedAt }}",
|
||||
"Online now • Never viewed": "Online now • Never viewed",
|
||||
"Online {{ lastActiveAt }} • Viewed {{ lastViewedAt }}": "Online {{ lastActiveAt }} • Viewed {{ lastViewedAt }}",
|
||||
|
||||
Reference in new issue
Block a user