Skip to content

Commit

Permalink
fix: Error Message is cut off in alerts & reports log page (#19444)
Browse files Browse the repository at this point in the history
  • Loading branch information
codemaster08240328 committed Apr 6, 2022
1 parent 0363e55 commit 156ac7d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions superset-frontend/src/views/CRUD/alert/ExecutionLog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import moment from 'moment';
import React, { useEffect, useMemo } from 'react';
import { Link, useParams } from 'react-router-dom';
import ListView from 'src/components/ListView';
import { Tooltip } from 'src/components/Tooltip';
import SubMenu from 'src/views/components/SubMenu';
import withToasts from 'src/components/MessageToasts/withToasts';
import { fDuration } from 'src/modules/dates';
Expand Down Expand Up @@ -144,6 +145,15 @@ function ExecutionLog({ addDangerToast, isReportEnabled }: ExecutionLogProps) {
{
accessor: 'error_message',
Header: t('Error message'),
Cell: ({
row: {
original: { error_message = '' },
},
}: any) => (
<Tooltip title={error_message} placement="topLeft">
<span>{error_message}</span>
</Tooltip>
),
},
],
[isReportEnabled],
Expand Down

0 comments on commit 156ac7d

Please sign in to comment.