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

View file

@ -6,7 +6,7 @@
// During web development, you may change values here for rapid testing.
var config = {
base_url: "http://localhost:2586", // window.location.origin FIXME update before merging
base_url: "https://127-0-0-1.my.local-ip.co", // window.location.origin FIXME update before merging
app_root: "/app",
enable_login: true,
enable_signup: true,

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 })}>

View file

@ -17,15 +17,7 @@ import IconButton from "@mui/material/IconButton";
import InsertEmoticonIcon from '@mui/icons-material/InsertEmoticon';
import {Close} from "@mui/icons-material";
import MenuItem from "@mui/material/MenuItem";
import {
formatBytes,
maybeWithAuth,
withBasicAuth,
topicShortUrl,
topicUrl,
validTopic,
validUrl
} from "../app/utils";
import {formatBytes, maybeWithAuth, topicShortUrl, topicUrl, validTopic, validUrl} from "../app/utils";
import Box from "@mui/material/Box";
import AttachmentIcon from "./AttachmentIcon";
import DialogFooter from "./DialogFooter";