You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2024/03/22 07:36:17 UTC

(incubator-answer) branch feat/1.3.0/ui created (now 665557c0)

This is an automated email from the ASF dual-hosted git repository.

shuai pushed a change to branch feat/1.3.0/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


      at 665557c0 feat: dashboard timezone maybe empty

This branch includes the following new commits:

     new 665557c0 feat: dashboard timezone maybe empty

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-answer) 01/01: feat: dashboard timezone maybe empty

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch feat/1.3.0/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 665557c042dbaeba8403df16fab02c3a2d0c395c
Author: shuai <li...@sifou.com>
AuthorDate: Fri Mar 22 15:36:05 2024 +0800

    feat: dashboard timezone maybe empty
---
 ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx b/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx
index 8c7f9940..302cfae9 100644
--- a/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx
+++ b/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx
@@ -94,7 +94,7 @@ const HealthStatus: FC<IProps> = ({ data }) => {
           <Col xs={6}>
             <span className="text-secondary me-1">{t('timezone')}</span>
             <strong>
-              {data.time_zone.split('/')?.[1].replaceAll('_', ' ')}
+              {data.time_zone.split('/')?.[1]?.replaceAll('_', ' ')}
             </strong>
           </Col>
           <Col xs={6}>