1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-06 21:14:35 +02:00
This commit is contained in:
binwiederhier 2023-01-28 22:13:43 -05:00
parent 0e36ac84d8
commit 40ba143a63
3 changed files with 4 additions and 12 deletions
web/src/components

View file

@ -529,10 +529,10 @@ const TokensTable = (props) => {
{token.token === session.token() && <em>{t("account_tokens_table_current_session")}</em>}
{token.token !== session.token() && (token.label || "-")}
</TableCell>
<TableCell aria-label={t("account_tokens_table_expires_header")}>
<TableCell sx={{ whiteSpace: "nowrap" }} aria-label={t("account_tokens_table_expires_header")}>
{token.expires ? formatShortDateTime(token.expires) : <em>{t("account_tokens_table_never_expires")}</em>}
</TableCell>
<TableCell aria-label={t("account_tokens_table_last_access_header")}>
<TableCell sx={{ whiteSpace: "nowrap" }} aria-label={t("account_tokens_table_last_access_header")}>
<div style={{ display: "flex", alignItems: "center" }}>
<span>{formatShortDateTime(token.last_access)}</span>
<Tooltip title={t("account_tokens_table_last_origin_tooltip", { ip: token.last_origin })}>