Skip to content

Commit

Permalink
Revert small change
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Jun 29, 2023
1 parent fb43237 commit e6edcde
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions superset-frontend/src/features/alerts/AlertReportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1507,16 +1507,18 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
</div>
</StyledInputContainer>
)}
<div className="inline-container">
<StyledCheckbox
data-test="bypass-cache"
className="checkbox"
checked={forceScreenshot}
onChange={onForceScreenshotChange}
>
{TRANSLATIONS.IGNORE_CACHE_TEXT}
</StyledCheckbox>
</div>
{(isReport || contentType === 'dashboard') && (
<div className="inline-container">
<StyledCheckbox
data-test="bypass-cache"
className="checkbox"
checked={forceScreenshot}
onChange={onForceScreenshotChange}
>
{TRANSLATIONS.IGNORE_CACHE_TEXT}
</StyledCheckbox>
</div>
)}
<StyledSectionTitle>
<h4>{TRANSLATIONS.NOTIFICATION_METHOD_TEXT}</h4>
<span className="required">*</span>
Expand Down

0 comments on commit e6edcde

Please sign in to comment.