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

aafghahi pushed a commit to branch 
arash.afghahi/sc-58084/databases-user-sees-an-empty-modal-when-trying
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 424fd6334163346b3324ac5cbf063c260e5e91c5
Author: AAfghahi <[email protected]>
AuthorDate: Mon Nov 21 17:25:01 2022 -0500

    error alert
---
 superset-frontend/src/components/ErrorMessage/ErrorAlert.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/components/ErrorMessage/ErrorAlert.tsx 
b/superset-frontend/src/components/ErrorMessage/ErrorAlert.tsx
index 7b8488a5b9..e509521d3f 100644
--- a/superset-frontend/src/components/ErrorMessage/ErrorAlert.tsx
+++ b/superset-frontend/src/components/ErrorMessage/ErrorAlert.tsx
@@ -132,7 +132,7 @@ export default function ErrorAlert({
       {description && (
         <div className="error-body">
           <p>{description}</p>
-          {!isExpandable && (
+          {!isExpandable && body && (
             <span
               role="button"
               tabIndex={0}

Reply via email to