Skip to content

Commit

Permalink
removing custom_width from payload while inactive
Browse files Browse the repository at this point in the history
  • Loading branch information
fisjac committed Mar 18, 2024
1 parent ae29427 commit edb3120
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset-frontend/src/features/alerts/AlertReportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
chart: contentType === 'chart' ? currentAlert?.chart?.value : null,
dashboard:
contentType === 'dashboard' ? currentAlert?.dashboard?.value : null,
custom_width: isScreenshot ? currentAlert?.custom_width : undefined,

Check failure on line 614 in superset-frontend/src/features/alerts/AlertReportModal.tsx

View workflow job for this annotation

GitHub Actions / frontend-build

Delete `···`
database: currentAlert?.database?.value,
owners: (currentAlert?.owners || []).map(
owner => (owner as MetaObject).value || owner.id,
Expand Down

0 comments on commit edb3120

Please sign in to comment.