From 40ba143a63fccc7877b503db09a50603da0cd341 Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Sat, 28 Jan 2023 22:13:43 -0500 Subject: [PATCH] nowrap --- web/public/config.js | 2 +- web/src/components/Account.js | 4 ++-- web/src/components/PublishDialog.js | 10 +--------- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/web/public/config.js b/web/public/config.js index ed0637e6..61f5ca0a 100644 --- a/web/public/config.js +++ b/web/public/config.js @@ -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, diff --git a/web/src/components/Account.js b/web/src/components/Account.js index ffefe13e..5282a212 100644 --- a/web/src/components/Account.js +++ b/web/src/components/Account.js @@ -529,10 +529,10 @@ const TokensTable = (props) => { {token.token === session.token() && {t("account_tokens_table_current_session")}} {token.token !== session.token() && (token.label || "-")} - + {token.expires ? formatShortDateTime(token.expires) : {t("account_tokens_table_never_expires")}} - +
{formatShortDateTime(token.last_access)} diff --git a/web/src/components/PublishDialog.js b/web/src/components/PublishDialog.js index 65dea5de..08646fc0 100644 --- a/web/src/components/PublishDialog.js +++ b/web/src/components/PublishDialog.js @@ -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";