Skip to content

Commit

Permalink
style: Rough draft of email report modal (apache#15666)
Browse files Browse the repository at this point in the history
* clears errors when closing out of modal (apache#15623)

* fix: avoid fetching favorite status for anonymous user (apache#15590)

* avoid fetching favorite status for anonymous user

* add test + fix types

* fix lint errors

* Building ReportModal component

* Continued ReportModal creation

* Visual details updated

* CronError style

* Very basic testing added

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: aspedrosa <aspedrosa@ua.pt>
  • Loading branch information
3 people committed Jul 27, 2021
1 parent 9a8e29e commit 9307f1a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions superset-frontend/src/dashboard/components/Header/index.jsx
Expand Up @@ -581,6 +581,20 @@ class Header extends React.PureComponent {
</>
)}

{!editMode && (
<>
<span
role="button"
title={t('Schedule email report')}
tabIndex={0}
className="action-button"
onClick={this.showReportModal}
>
<Icon name="calendar" />
</span>
</>
)}

{this.state.showingPropertiesModal && (
<PropertiesModal
dashboardId={dashboardInfo.id}
Expand Down

0 comments on commit 9307f1a

Please sign in to comment.