Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rtexelm committed Dec 7, 2023
1 parent 3aa365f commit eb69c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset-frontend/src/features/alerts/AlertReportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1610,8 +1610,8 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
onChange={onFormatChange}
value={reportFormat}
options={
/*If chart is of text based viz type: show text
format option*/
/* If chart is of text based viz type: show text
format option */
TEXT_BASED_VISUALIZATION_TYPES.includes(chartVizType)
? Object.values(FORMAT_OPTIONS)
: ['png', 'csv'].map(key => FORMAT_OPTIONS[key])

Check warning on line 1617 in superset-frontend/src/features/alerts/AlertReportModal.tsx

View check run for this annotation

Codecov / codecov/patch

superset-frontend/src/features/alerts/AlertReportModal.tsx#L1617

Added line #L1617 was not covered by tests
Expand Down

0 comments on commit eb69c23

Please sign in to comment.