From 5c543c602b9351db0dd53da1d4807ffa8686f039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KMY=EF=BC=88=E9=9B=AA=E3=81=82=E3=81=99=E3=81=8B=EF=BC=89?= Date: Fri, 16 Feb 2024 17:53:09 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#554=20=E6=A6=82=E8=A6=81=E7=94=BB?= =?UTF-8?q?=E9=9D=A2=E3=81=AE=E9=80=A3=E7=B5=A1=E5=85=88=E3=81=8C=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=82=A2=E3=83=89=E3=83=AC=E3=82=B9=E3=81=A7?= =?UTF-8?q?=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E5=A0=B4=E5=90=88=E3=81=AB?= =?UTF-8?q?=E3=80=81=E3=83=AA=E3=83=B3=E3=82=AF=E3=81=ABmailto=E3=82=92?= =?UTF-8?q?=E5=BC=B7=E5=88=B6=E7=9A=84=E3=81=AB=E3=81=A4=E3=81=91=E3=81=AA?= =?UTF-8?q?=E3=81=84=20(#562)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/mastodon/features/about/index.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/about/index.jsx b/app/javascript/mastodon/features/about/index.jsx index 0ae76e46131b5d..ffc693e7ecb14e 100644 --- a/app/javascript/mastodon/features/about/index.jsx +++ b/app/javascript/mastodon/features/about/index.jsx @@ -162,6 +162,9 @@ class About extends PureComponent { const isFullTextSearch = server.getIn(['configuration', 'search', 'enabled']); + const email = server.getIn(['contact', 'email']) || ''; + const emailLink = email.startsWith('https://') ? email : `mailto:${email}`; + return (
@@ -183,7 +186,7 @@ class About extends PureComponent {

- {isLoading ? : {server.getIn(['contact', 'email'])}} + {isLoading ? : {server.getIn(['contact', 'email'])}}