mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
Fix metric formating in Dashboard view + some refactoring (#2598)
* Fix metric formating in Dashboard view + some refactoring * Fixing build
This commit is contained in:
committed by
GitHub
parent
93c6597cf4
commit
31283f1424
@@ -43,7 +43,7 @@ class Controls extends React.PureComponent {
|
||||
}
|
||||
render() {
|
||||
const dashboard = this.props.dashboard;
|
||||
const canSave = dashboard.context.dash_save_perm;
|
||||
const canSave = dashboard.dash_save_perm;
|
||||
const emailBody = `Checkout this dashboard: ${window.location.href}`;
|
||||
const emailLink = 'mailto:?Subject=Superset%20Dashboard%20'
|
||||
+ `${dashboard.dashboard_title}&Body=${emailBody}`;
|
||||
|
||||
Reference in New Issue
Block a user